Commit 575cb1f8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Repo::Push] When validator raises, dont show the exception backtrace.

parent 367c539a
......@@ -88,7 +88,7 @@ module Pod
validator.validate
rescue => e
raise Informative, "The `#{podspec}` specification does not validate." \
"\n\n#{e.message}\n\n#{e.backtrace * "\n"}"
"\n\n#{e.message}"
end
raise Informative, "The `#{podspec}` specification does not validate." unless validator.validated?
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