Bump exception_page shard to version ~> 0.5.0 (#693)

This commit is contained in:
Sijawusz Pur Rahnama 2024-10-28 11:55:56 +01:00 committed by GitHub
parent 75d5ef1046
commit 749c537e85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ dependencies:
version: ~> 0.4.0
exception_page:
github: crystal-loot/exception_page
version: ~> 0.4.1
version: ~> 0.5.0
development_dependencies:
ameba:

View file

@ -26,7 +26,7 @@ def render_500(context, exception, verbosity)
context.response.status_code = 500
template = if verbosity
Kemal::ExceptionPage.for_runtime_exception(context, exception).to_s
Kemal::ExceptionPage.new(context, exception).to_s
else
Kemal::ExceptionPage.for_production_exception
end