You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are playing with try-catch and logdie() and hit some problems.
use Log::Log4perl qw(:no_extra_logdie_message);
is bad implemented, due to the use of exit() you can't fetch the error anymore. So activating this flag will lead in a total change in behavior (not only suppress some logging).
We are playing with try-catch and logdie() and hit some problems.
is bad implemented, due to the use of exit() you can't fetch the error anymore. So activating this flag will lead in a total change in behavior (not only suppress some logging).
Playing with $EXCEPTIONS_BEING_CAUGHT or $^S it is possible to throw the exception via die().
Something like that:
in the beginning of error_die(), logdie(), logconfess() and logcroak() solve this for us. But i am unsure where exactly this should be placed.
Or should this solved somewhere else?
The text was updated successfully, but these errors were encountered: