If you wish to get error notifications on slack, you should set it up.
- go to https://api.slack.com/apps and click "Create new app"
- enter a name and choose your workspace
- click on "oauth & permissions" on left menu
- add "chat.write.public" and "chat.write" scopes
- click "install app"
- grant permissions
- you now have your slack token
-
Set
SLACK_TOKEN
with your Slack token -
Set
SLACK_CHANNEL
you wish to use to receive errors -
Set
SLACK_EMOJI
with any icon you want (to distinguish environments for example)