Sentry PHP Playground

toko.314playground.com · klik tombol untuk kirim event test ke Sentry

captureMessage terkirim ke Sentry. Event ID: e61254eac71d4190b7e6b63539693966

1. Uncaught Exception

Throw RuntimeException tanpa try-catch. Halaman akan error 500, Sentry capture otomatis via shutdown handler.

Trigger uncaught exception

2. Manual captureMessage

Kirim pesan log custom (severity: info) ke Sentry. Halaman tetap render normal.

Send captureMessage

3. Manual captureException + Context

Try-catch LogicException, lampirkan tag demo_scenario, extra triggered_at, dan user context.

Send captureException

4. PHP E_USER_WARNING

Trigger PHP warning lewat trigger_error(). Sentry error handler akan menangkapnya.

Trigger PHP warning