1
0
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:
Krateng 2020-09-05 16:44:25 +02:00
parent a0a8e5bcc8
commit 09d3f10383
No known key found for this signature in database
GPG Key ID: 46735607861C6FCE
3 changed files with 4 additions and 2 deletions

View File

@ -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.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
* [Why not Last.fm / Libre.fm / GNU FM?](#why-not-lastfm--librefm--gnu-fm)

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,9,4
version = 2,9,5
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -81,6 +81,8 @@ class APIHandler:
methodname = self.get_method(path,keys)
method = self.methods[methodname]
except:
log("Could not find a handler for method " + methodname + " in API " + self.__apiname__,module="debug")
log("Keys: " + str(keys),module="debug")
raise InvalidMethodException()
return method(path,keys)