`debug_exception_format` is set to :api by default for API apps only, not for normal apps.

[ci skip]
上级 2ef77413
......@@ -181,7 +181,7 @@ To render debugging information preserving the response format, use the value `:
config.debug_exception_response_format = :api
```
By default, `config.debug_exception_response_format` is set to `:api`.
By default, `config.debug_exception_response_format` is set to `:api` for API apps.
Finally, inside `app/controllers/application_controller.rb`, instead of:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册