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