logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Sympa::Crash - Show traceback on critical error

Description

       Once Sympa::Crash is loaded, crash by runtime error will be reported via log and traceback will be shown
       in standard error.

       If optional "Hook" parameter is given, it will be executed instead.

   Function
       register_handler ( )
           Sometimes  other modules overwrites error handler.  If that is the case, executing this function will
           register handler again.

History

       Sympa::Crash appeared on Sympa 6.2.

6.2.76                                             2025-02-12                               Sympa::Crash(3Sympa)

Name

       Sympa::Crash - Show traceback on critical error

Synopsis

         use Sympa::Crash;

         # Registering custom hook.
         use Sympa::Crash Hook => \&myhook;

See Also