1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed Plex scrobbling (new web interface)

This commit is contained in:
krateng
2022-01-26 07:34:17 +01:00
parent efad4379be
commit b3002b1578
3 changed files with 4 additions and 4 deletions

View File

@@ -66,10 +66,10 @@ class APIHandler:
exceptiontype = sys.exc_info()[0]
if exceptiontype in self.errors:
response.status,result = self.errors[exceptiontype]
log(f"Error with {self.__apiname__}: {result} ({exceptiontype})")
log(f"Error with {self.__apiname__} API: {exceptiontype} (Request: {path})")
else:
response.status,result = 500,{"status":"Unknown error","code":500}
log(f"Unhandled Exception with {self.__apiname__}: {exceptiontype}")
log(f"Unhandled Exception with {self.__apiname__} API: {exceptiontype} (Request: {path})")
return result
#else: