($self->url => json => $self->_json_content($ex, $app, $c), $call_back );
}
sub _json_content {
my $self = shift;
my $ex = shift;
my $app = shift;
my $c = shift;
my $json = {
notifi
$VERSION,
url => 'https://github.com/jontaylor/Mojolicious-Plugin-Airbrake'
}
};
$json->{errors} = [{
type => ref $ex,
message => $ex->message,
backtrace => [],
}];
fo
line, $subroutine) = @$frame;
push @{$json->{errors}->[0]->{backtrace}}, {
file => $file, line => $line, function => $subroutine
};
}
$json->{context} = {
environment => $app->m