blib/lib/Mojolicious/Plugin/ErrorTracking/Sentry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 12 | 41.6 |
line | true | false | branch |
---|---|---|---|
32 | 0 | 0 | if (not defined $event_id) |
44 | 1 | 1 | if eval { do { local $SIG{'__DIE__'} = sub { $stacktrace = 'Devel::StackTrace'->new('skip_frames', 1); } ; &$next(); 1 } } |
57 | 1 | 0 | unless (defined $event_id) |
63 | 0 | 0 | ref $eval_error ? : |
72 | 1 | 0 | if $conf->{'on_error'} and ref $conf->{'on_error'} eq 'CODE' |
84 | 1 | 0 | $stacktrace ? : |