
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
adonis-sentry
Advanced tools
Sentry provider for AdonisJS
adonis install adonis-sentry
You need to add the provider to AdonisJS at start/app.js:
const providers = [
...
'adonis-sentry/providers/Sentry',
];
and in your .env file
SENTRY_DSN=
SENTRY_ENVIRONMENT=
then you can use it as
const sentry = use('Sentry')
if you want to catch all the exceptions of your adonis project you must create an exception handler
adonis make:ehandler
and we need add sentry notify in app/Exceptions/Handler.js
'use strict'
const sentry = use('Sentry')
class ExceptionHandler extends BaseExceptionHandler {
...
async report (error, { request }) {
sentry.captureException(error)
}
}
module.exports = ExceptionHandler
You can test your configuration using the command:
adonis sentry:test
https://docs.sentry.io/clients/node/
It is always helpful if we try to follow certain practices when creating issues or PR's, since it will save everyone's time.
Adonis Sentry is open-sourced software licensed under the MIT license.
I want to thank Zura for have created the previous provider.
FAQs
Sentry provider for adonis framework
The npm package adonis-sentry receives a total of 450 weekly downloads. As such, adonis-sentry popularity was classified as not popular.
We found that adonis-sentry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.