lib/rack/insight/render.rb in rack-insight-0.5.22 vs lib/rack/insight/render.rb in rack-insight-0.5.23
- old
+ new
@@ -38,10 +38,10 @@
end
end_src
begin
CompiledTemplates.module_eval(source, filename, 0)
- rescue Object => ex
+ rescue StandardError => ex
logger.error do
"#{ex.class.name}: #{ex.message} in\n" +
source +
ex.backtrace.join("\n")
end