chiselstrike icon indicating copy to clipboard operation
chiselstrike copied to clipboard

Introduce --debug flag to return internal server errors

Open honzasp opened this issue 3 years ago • 0 comments

On production, we should not return any details about internal server errors, because they might be useful to potential attackers. But it is very convenient to return the errors while developing or in tests, so introduce a new option --debug, which is enabled in tests and in chisel dev and which keeps the original behavior of returning the error.

This is related to #1618.

honzasp avatar Aug 25 '22 10:08 honzasp