Skip to content

Commit

Permalink
Allow Better Errors to work with Docker
Browse files Browse the repository at this point in the history
I noticed that, in some circumstances, error traces were showing
in plaintext when using Whitehall in Docker. After some research
I found [this issue][1], the solution for which allows the host
machine, Docker and Better Errors to play together nicely!

[1]: BetterErrors/better_errors#270
  • Loading branch information
pezholio committed May 31, 2024
1 parent 23902fa commit 0399fb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/better_errors.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if Rails.env.development?
BetterErrors::Middleware.allow_ip! "0.0.0.0/0"
end

0 comments on commit 0399fb0

Please sign in to comment.