Cosmetics

This commit is contained in:
Gregoo 2025-01-21 11:28:07 +01:00
parent 132892ab0b
commit 86fea8cd7d

View File

@ -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,