lib/roda/plugins/exception_page.rb in roda-3.63.0 vs lib/roda/plugins/exception_page.rb in roda-3.64.0
- old
+ new
@@ -399,11 +399,10 @@
end
end
private
- # :nocov:
if RUBY_VERSION >= '3.2'
def exception_page_exception_message(exception)
exception.detailed_message(highlight: false).to_s
end
# :nocov:
@@ -411,9 +410,10 @@
# Return message to use for exception.
def exception_page_exception_message(exception)
exception.message.to_s
end
end
+ # :nocov:
end
module RequestMethods
# Serve exception page assets
def exception_page_assets