I have a small application on the specified framework. I want to control what the user sees if my application fails. This should not be a standard web server response, which it is differently displayed by different browsers. In this regard, I want to use Falcon\Debug. But, as far as I understand, this component of the framework will always show something like this:
However, I would like to show this information only if debugging is enabled in my application (using an environment variable, for example). In other cases I would like to show just a page describing the error.
Question: how to implement this?
