mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Added some debug output
This commit is contained in:
parent
a0a8e5bcc8
commit
09d3f10383
@ -14,7 +14,7 @@ You can check [my own Maloja page](https://maloja.krateng.ch) to see what it loo
|
|||||||
|
|
||||||
> **IMPORTANT**: With the update 2.7, the backend has been reworked to use a password. With a normal installation, you are asked to provide a password on setup. If you use docker or skip the setup for other reasons, you need to provide the environment variable `MALOJA_FORCE_PASSWORD` on first startup.
|
> **IMPORTANT**: With the update 2.7, the backend has been reworked to use a password. With a normal installation, you are asked to provide a password on setup. If you use docker or skip the setup for other reasons, you need to provide the environment variable `MALOJA_FORCE_PASSWORD` on first startup.
|
||||||
|
|
||||||
> **IMPORTANT**: With the update 2.9, the API endpoints have changed. I tried to make it backwards compatible, but if your scrobbler breaks, try to update the url first.
|
> **IMPORTANT**: With the update 2.9, the API endpoints have changed. I tried to make it backwards compatible, but if your scrobbler breaks, try to update the URL first.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
* [Why not Last.fm / Libre.fm / GNU FM?](#why-not-lastfm--librefm--gnu-fm)
|
* [Why not Last.fm / Libre.fm / GNU FM?](#why-not-lastfm--librefm--gnu-fm)
|
||||||
|
@ -5,7 +5,7 @@ author = {
|
|||||||
"email":"maloja@krateng.dev",
|
"email":"maloja@krateng.dev",
|
||||||
"github": "krateng"
|
"github": "krateng"
|
||||||
}
|
}
|
||||||
version = 2,9,4
|
version = 2,9,5
|
||||||
versionstr = ".".join(str(n) for n in version)
|
versionstr = ".".join(str(n) for n in version)
|
||||||
links = {
|
links = {
|
||||||
"pypi":"malojaserver",
|
"pypi":"malojaserver",
|
||||||
|
@ -81,6 +81,8 @@ class APIHandler:
|
|||||||
methodname = self.get_method(path,keys)
|
methodname = self.get_method(path,keys)
|
||||||
method = self.methods[methodname]
|
method = self.methods[methodname]
|
||||||
except:
|
except:
|
||||||
|
log("Could not find a handler for method " + methodname + " in API " + self.__apiname__,module="debug")
|
||||||
|
log("Keys: " + str(keys),module="debug")
|
||||||
raise InvalidMethodException()
|
raise InvalidMethodException()
|
||||||
return method(path,keys)
|
return method(path,keys)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user