是否有一种解决方案可以自动将Mojolicious的错误发送给Sentry?对于Express,它就像
Sentry.init({
dsn: 'http://asdf@sentry.somwhere/2',
})
const app = express()
// The request handler must be the first middleware on the app
app.use(Sentry.Handlers.requestHandler())
答案 0 :(得分:1)