Skip to content

Do not hide exceptions catched by ErrorNotificator, reraise CannotNotifyError, use in CLI

Mateusz Żebrak requested to merge mzebrak/error-handlers into develop

Please review: @jziebinski @msobczyk

Also get rid of the additional is_in_dev_mode logic, because errors are logged out anyway.

This allows us to use ErrorNotificator logic of changing the exception message to be used in CLI.

Previously ErrorNotificator couldn't be used in CLI as it would result in hidden exceptions.

E.g. previously:

image

now:

image

Edited by Mateusz Żebrak

Merge request reports

Loading