Fix method signature of exceptions
Fix method signature of exceptions

In 6d85804 the method signature of `render_exception` was changed to
require the `request` instead of the `env` and the `ExceptionWrapper`
was changed to take a `backtrace_cleaner` instead of the `env`.

This required changes to this method to a) get the `backtrace_cleaner`
from the request env and then to change calls to `env` to be calls to
`request.env`.

This bug had caused an issue where if there were exceptions on load like
pending migrations the error page and console would not be shown to the
user and instead they would only see the error in their log and in the
browser would be the Rails static 500 page "something went wrong".

sh19910711/web-console,gsamokovarov/web-console,zBMNForks/web-console,rails/web-console,sh19910711/web-console,rails/web-console,zBMNForks/web-console,rails/web-console,gsamokovarov/web-console,rails/web-console,zBMNForks/web-console,gsamokovarov/web-console,gsamokovarov/web-console,sh19910711/web-console,sh19910711/web-console,zBMNForks/web-console