Error Alerts
Know when a deploy breaks something
Ploy groups your project's errors by where they came from and emails you the first time a new one appears, so a bug introduced by a deploy reaches you without watching the logs. Each error is reported once, several new errors arrive together in one email, and a daily limit keeps a bad deploy from flooding your inbox. Error alerts are in beta and off until you turn them on.
New Errors, Once
[shop] 2 new errors
One email for everything a deploy broke
shop started throwing 2 new errors: - TypeError: Cannot read properties of undefined (reading 'id') at readUser (src/user.ts:42) path /api/account - PaymentDeclinedError: card_declined at checkout (src/checkout.ts:118) path /api/checkout Each error is reported once.
Detected Errors
Every new error, including the ones that were not emailed
TypeError: Cannot read properties of undefined (reading 'id')
readUser (src/user.ts:42) · 2 minutes ago
EmailedPaymentDeclinedError: card_declined
checkout (src/checkout.ts:118) · 2 minutes ago
EmailedError: ResizeObserver loop limit exceeded
/dashboard · 1 hour ago
IgnoredRangeError: Invalid time value
formatDate (src/dates.ts:7) · yesterday
Daily limit reached
Key Features
Only New Errors
An error alerts the first time it appears. The same error recurring a thousand times sends nothing more.
One Digest per Deploy
New errors that appear together are sent as one email that lists them all.
Daily Limit
Choose up to 10 alert emails per day. Errors past the limit are still listed in the dashboard.
Ignore Rules
Keep noisy errors out of alerts with patterns on the message, stack trace or request path.
From the CLI
Turn alerts on, set the daily limit and ignore a noisy error, then send a test alert.
ploy api project error-alerts set <projectId> \
--enable --daily-limit 5 \
--ignore 'message:ResizeObserver loop*'
ploy api project error-alerts test <projectId>