Mojolicious::Plugin::ExceptionSentry - Sentry Plugin for Mojolicious
# Mojolicious::Lite
plugin 'ExceptionSentry' => {
sentry_dsn => 'https://<publickey>:<secretkey>@sentry.io/<projectid>'
};
# Mojolicious
$self->plugin('ExceptionSentry' => {
sentry_dsn => 'https://<publickey>:<secretkey>@sentry.io/<projectid>'
});
Mojolicious::Plugin::ExceptionSentry is a plugin for Mojolicious, This module auto-send all exceptions from Mojolicious for Sentry.
Mojolicious::Plugin::ExceptionSentry supports the following options.
plugin 'ExceptionSentry' => {
sentry_dsn => 'DSN'
};
The DSN for your sentry service. Get this from the client configuration page for your project.
plugin 'ExceptionSentry' => {
sentry_dsn => 'DSN',
timeout => 5
};
Do not wait longer than this number of seconds when attempting to send an event.
Sentry::Raven, Mojolicious, https://mojolicious.org.
Lucas Tiago de Moraes lucastiagodemoraes@gmail.com
This software is copyright (c) 2020 by Lucas Tiago de Moraes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.