Skip to content

Commit

Permalink
Replace usage of now-removed method from exception_page shard
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija authored Dec 4, 2024
1 parent e0d3fd9 commit c582dc4
Showing 1 changed file with 1 addition and 1 deletion.
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 c582dc4

Please sign in to comment.