提交 f54ae9a9 编写于 作者: J Jeremy Kemper

Fix failsafe response path. [#1504 state:committed]

上级 eb5e6fe7
......@@ -61,7 +61,7 @@ def failsafe_response(fallback_output, status, originating_exception = nil)
private
def failsafe_response_body(status)
error_path = "#{error_file_path}/#{status.to_s[0..3]}.html"
error_path = "#{error_file_path}/#{status.to_s[0..2]}.html"
if File.exist?(error_path)
File.read(error_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册