Skip to content

Commit c582dc4

Browse files
authored
Replace usage of now-removed method from exception_page shard
1 parent e0d3fd9 commit c582dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grip/handlers/exception.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module Grip
4444
if @environment == "production"
4545
context.response.print("An error occured, please try again later.")
4646
else
47-
context.response.print(Grip::Minuscule::ExceptionPage.for_runtime_exception(context, exception).to_s)
47+
context.response.print(Grip::Minuscule::ExceptionPage.new(context, exception))
4848
end
4949

5050
context.response.close

0 commit comments

Comments
 (0)