Recoverable error logged at ERROR level
Asked by
Lin Hua Cheng
In the error handling of horizon, recoverable error is logged at ERROR LEVEL.
if issubclass(
wrap = True
if not force_silence and not handled and (not ignore or force_log):
if not ignore and not handled:
if redirect:
raise Http302(redirect)
if not escalate:
return RecoverableError # return to normal code flow
Recoverable exceptions are typically application exception or validation error that the user can fix.
Should this be logged as warning or info instead?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Gabriel Hurley
- Solved:
- Last query:
- Last reply:
To post a message you must log in.