Send Sentry errors to discord channel
Clone the project using git and install the dependencies using npm
git clone https://github.com/devardha/discord-sentry-integration.git
cd discord-sentry-integration
npm install
- Open server settings and go to the "Integrations" tab
- Click the "Create Webhook" button to create a new webhook
- Copy and paste you discord webhook to
.env.local
file
Run the application using Vercel
npm i -g vercel
vercel dev
Add your API endpoint to Sentry
- Deploy your api
- Open Sentry project settings and go to the "Integrations" tab
- Choose the Webhooks integration and click "Add to project" button
- On the integration configuration, paste your api endpont to the "Callback URLs" input
- Click "Save changes" then click "Test plugin" to test the integration