-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure the loader to ignore some Hanami built-in errors by default so they don't confuse our users.
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
bump: patch | ||
type: change | ||
--- | ||
|
||
Ignore these Hanami errors by default: | ||
|
||
- Hanami::Router::NotAllowedError (for example: sending a GET request to POST endpoint) | ||
- Hanami::Router::NotFoundError | ||
|
||
They are usually errors you don't want to be notified about, so we ignore them by default now. | ||
|
||
Customize the `ignore_errors` config option to continue receiving these errors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters