Bump exception_page shard to version ~> 0.5.0 (#693)
This commit is contained in:
parent
75d5ef1046
commit
749c537e85
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue