mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
DEV: Disable better_errors by default.
It adds a somewhat unnecessary middleware before `ActionDispatch::DebugExceptions` and totally bypasses it. Apps that register exception interceptors with `ActionDispatch::DebugExceptions` would therefore stop working if better_errors is used.
This commit is contained in:
@@ -178,7 +178,7 @@ end
|
|||||||
group :development do
|
group :development do
|
||||||
gem 'ruby-prof', require: false, platform: :mri
|
gem 'ruby-prof', require: false, platform: :mri
|
||||||
gem 'bullet', require: !!ENV['BULLET']
|
gem 'bullet', require: !!ENV['BULLET']
|
||||||
gem 'better_errors', platform: :mri
|
gem 'better_errors', platform: :mri, require: !!ENV['BETTER_ERRORS']
|
||||||
gem 'binding_of_caller'
|
gem 'binding_of_caller'
|
||||||
gem 'yaml-lint'
|
gem 'yaml-lint'
|
||||||
gem 'annotate'
|
gem 'annotate'
|
||||||
|
|||||||
Reference in New Issue
Block a user