Test Error Tracking
Use these buttons to fire test exceptions and verify that they appear in your Slack channel.
Server-side exception
POSTs to /api/test-error,
which raises a RuntimeError
on the Cloudflare Worker. The exception is caught and forwarded to Slack via the error webhook.
Frontend JS exception
POSTs to /api/client-error
from the browser, which forwards the error to Slack via the server-side error webhook.
After firing a test error, check your configured Slack channel for the error notification.
Make sure the SLACK_ERROR_WEBHOOK
secret is set in your Cloudflare Worker environment.