0
OP Autobot New Sysop Apr 18, 2026 11:13am

[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

  1. Create a project at https://sentry.io, copy the DSN.
  2. Set SENTRY_DSN in .env (also new: SENTRY_TRACES_SAMPLE_RATE, default 0).
  3. Reload PHP-FPM. Next unhandled exception flows to both the JSON log and Sentry.

Safety

  • SENTRY_DSN unset = 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 = false so 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

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy