Skip to content

Commit

Permalink
Add sentry (#43)
Browse files Browse the repository at this point in the history
* Add sentry

* Fix some small issues

* Remove unnecesary log

* Improve sentry logging
  • Loading branch information
anxolin authored Aug 18, 2023
1 parent 2c7478b commit ee07f83
Show file tree
Hide file tree
Showing 8 changed files with 417 additions and 36 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ BLOCK_NUMBER=

# Slack
SLACK_WEBHOOK_URL=
NOTIFICATIONS_ENABLED=false
NOTIFICATIONS_ENABLED=false

# Sentry
SENTRY_DSN=
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,12 @@ tenderly actions deploy
Make sure you configure the secrets in Tenderly:
- `SLACK_WEBHOOK_URL`: Slack Webhook
- `NOTIFICATIONS_ENABLED`: (default `true`) Set to `false` to disable Slack notifications
- `NODE_URL_${network}`: RPC Node URL
- `NODE_USER_${network}`: (optional) RPC Node user name for basic auth.
- `NODE_PASSWORD_${network}`: (optional) RPC Node password name for basic auth.
- `NOTIFICATIONS_ENABLED`: (default `true`) Set to `false` to disable Slack notifications
- `SLACK_WEBHOOK_URL`: Slack Webhook (required only if notifications are enabled)
- `SENTRY_DSN`: (optional) Sentry DSN code. If present, it will enable Sentry notifications
## Developers
Expand Down
Loading

0 comments on commit ee07f83

Please sign in to comment.