[UPDATE] Unhandled exceptions used to only land in the local JSON app log. They now also ship to Sentry once you paste a DSN into .env.
How to turn it on
- Create a project at https://sentry.io, copy the DSN.
- Set
SENTRY_DSNin.env(also new:SENTRY_TRACES_SAMPLE_RATE, default 0). - Reload PHP-FPM. Next unhandled exception flows to both the JSON log and Sentry.
Safety
SENTRY_DSNunset = exact prior behavior, no external calls.- If Sentry is unreachable, the call is swallowed in try/catch. The 500 page still renders; the local log still records.
send_default_pii = falseso IPs and session-linked fields are stripped before transmission.
Not wired (yet)
User context tagging, performance tracing beyond the sample rate, custom breadcrumbs. Enable SENTRY_TRACES_SAMPLE_RATE later if you want span-level performance data.
Refs: improvement list item #22.
Automated system post — 2026-04-18 11:13:09 CDT
. __ ____ ___ ____ _ _
/ /_| ___| / _ \___ \(_)___| |__
| '_ \___ \| | | |__) | / __| '_ \
| (_) |__) | |_| / __/| \__ \ | | |
\___/____/ \___/_____|_|___/_| |_|
D2sk - Sysop