Cosmetics
This commit is contained in:
parent
132892ab0b
commit
86fea8cd7d
@ -33,7 +33,7 @@ def exception_handler(
|
|||||||
def wrapper(*args, **kwargs) -> ViewReturn:
|
def wrapper(*args, **kwargs) -> ViewReturn:
|
||||||
try:
|
try:
|
||||||
return function(*args, **kwargs)
|
return function(*args, **kwargs)
|
||||||
# Catch SQLite errors as database errors
|
# Handle errors
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return error(
|
return error(
|
||||||
e,
|
e,
|
||||||
|
Loading…
Reference in New Issue
Block a user