raises

The Rails client for Raises, error reporting operated by coding agents.

gem "raises"

Set RAISES_TOKEN to the ingestion credential created for the project. Production errors are reported to https://raises.dev automatically through Rails.error. Set RAISES_REPORT=1 to exercise the integration outside production.

Optional settings are RAISES_URL, RAISES_ENV, RAISES_REVISION, RAISES_OPEN_TIMEOUT, and RAISES_READ_TIMEOUT.

Set RAISES_SPOOL_DIR to add restart-safe, disk-backed delivery retries. The directory must be on persistent storage if notices should survive a deploy. Raises stores notice JSON there with private permissions, never stores the ingestion token, retries network errors, HTTP 408/429, and 5xx responses, and bounds the spool at 1,000 notices or 100 MB. Leave it unset to preserve synchronous best-effort delivery.

The reporter fails open: network or serialization failures never replace the application exception. Rails filtered parameters are included; headers, raw bodies, query strings, and the request object are not.