authorization api now final
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import musicbrainzngs
|
||||
|
||||
"""
|
||||
Flask error handler functions
|
||||
"""
|
||||
@@ -12,6 +14,7 @@ __version__text__ = "1"
|
||||
|
||||
def get_standard_error_handler(code: int):
|
||||
def error_handler(err):
|
||||
musicbrainzngs.user(None, None)
|
||||
return {"msg": str(err)}, code
|
||||
|
||||
return error_handler
|
||||
|
||||
Reference in New Issue
Block a user