Skip to content

Commit

Permalink
Merge pull request #76 from Sija/patch-5
Browse files Browse the repository at this point in the history
Bump `exception_page` shard
  • Loading branch information
grkek authored Dec 4, 2024
2 parents 75a025c + c582dc4 commit 441fc1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:

exception_page:
github: crystal-loot/exception_page
version: ~> 0.4.1
version: ~> 0.5.0

development_dependencies:
ameba:
Expand Down
2 changes: 1 addition & 1 deletion src/grip/handlers/exception.cr
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module Grip
if @environment == "production"
context.response.print("An error occured, please try again later.")
else
context.response.print(Grip::Minuscule::ExceptionPage.for_runtime_exception(context, exception).to_s)
context.response.print(Grip::Minuscule::ExceptionPage.new(context, exception))
end

context.response.close
Expand Down

0 comments on commit 441fc1e

Please sign in to comment.