Commit ea1a7635 authored by Samuel Giddins's avatar Samuel Giddins

[Validator] Fix printing backtrace of unknown errors in verbose mode

parent 7c3ed4c7
......@@ -275,7 +275,7 @@ module Pod
rescue => e
message = e.to_s
message << "\n" << e.backtrace.join("\n") << "\n" if config.verbose?
error('unknown', "Encountered an unknown error (#{e}) during validation.")
error('unknown', "Encountered an unknown error (#{message}) during validation.")
false
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment