Compare commits
No commits in common. "804220262843fcea737cd2689f77901d10523bab" and "e4765ff11d66d705438b9c79e77665d85e4ef8f4" have entirely different histories.
8042202628
...
e4765ff11d
1 changed files with 0 additions and 7 deletions
|
@ -62,13 +62,6 @@ describe "Your::Kemal::App" do
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Rescue errors
|
|
||||||
Errors gets rescued by default which results in the Kemal's exception page is rendered.
|
|
||||||
This may not always be the desired behaviour, e.g. when a JSON parsing error occurs one might expect `"[]"`
|
|
||||||
and not Kemal's exception page.
|
|
||||||
|
|
||||||
Set `Kemal.config.always_rescue = false` to prevent this behaviour and raise errors instead.
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
1. Fork it ( https://github.com/kemalcr/spec-kemal/fork )
|
1. Fork it ( https://github.com/kemalcr/spec-kemal/fork )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue