finish register
This commit is contained in:
@@ -44,6 +44,8 @@ def health():
|
||||
|
||||
@app.exception_handler(ServiceError)
|
||||
def exc_error(exc: ServiceError):
|
||||
logger.exception(exc)
|
||||
|
||||
return Response(
|
||||
body={
|
||||
'type': type(exc).__name__,
|
||||
|
||||
Reference in New Issue
Block a user