Skip to content

Commit

Permalink
documentation for raise_envs configuration (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjb authored Dec 4, 2024
1 parent ed0f607 commit 7abd163
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ By default, exception messages are prefixed with `[safely]`. This makes it easie
Safely.tag = false
```

By default, exceptions are raised in the development and test environments. Change this with:

```ruby
Safely.raise_envs = %w(development test staging)
```

To report exceptions manually:

```ruby
Expand Down

0 comments on commit 7abd163

Please sign in to comment.