ruff-only #1

Open
leo wants to merge 17 commits from ruff-only into main
Showing only changes of commit 469cb1663b - Show all commits

View File

@ -137,7 +137,7 @@ class ErrorHandler:
error_logger.exception(response_message) error_logger.exception(response_message)
if self.debug: if self.debug:
return text(response_message % (handler.__name__, url), 500) return text(response_message, 500)
else: else:
return text("An error occurred while handling an error", 500) return text("An error occurred while handling an error", 500)
return response return response