request.original_url.present?

Errors#error_500

Find me in app/views/errors/error_500.html.haml