Mojolicious::Plugin::Sentry - A perl sentry client for Mojolicious
version 0.11
# Mojolicious::Lite plugin 'sentry' => { sentry_dsn => 'DSN', server_name => 'HOSTNAME', logger => 'root', platform => 'perl', }; # Mojolicious with config $self->plugin('sentry' => { sentry_dsn => 'DSN', server_name => 'HOSTNAME', logger => 'root', platform => 'perl', }); # template: tmpl/exception.html.ep % sentryCaptureMessage $exception;
Mojolicious::Plugin::Sentry is a plugin for the Mojolicious web framework which allow you use Sentry https://getsentry.com.
See also Sentry::Raven for configuration parameters on init plugin and for use sentryCaptureMessage.
Sentry::Raven
https://github.com/likhatskiy/Mojolicious-Plugin-Sentry
Alexey Likhatskiy, <likhatskiy@gmail.com>
Copyright (C) 2014 "Alexey Likhatskiy"
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mojolicious::Plugin::Sentry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Sentry
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Sentry
For more information on module installation, please visit the detailed CPAN module installation guide.