jmfayard
11/19/2021, 12:47 PMRescribet
11/19/2021, 2:16 PMval bugsnag = Bugsnag(reportingKey)
Sentry.init { options ->
options.dsn = dsn
}
install(StatusPages) {
exception<Exception> { cause ->
bugsnag.notify(cause)
// Either / or
Sentry.captureException(cause)
call.respond(HttpStatusCode.InternalServerError)
}
}
Some plugin which wraps the call to augment it with request information would be useful, but that’s not very high on my TODO list.