Commit a16e2265 authored by Boris Bügling's avatar Boris Bügling

Show actual executable when Pod::Executable fails.

parent a9e41ac2
...@@ -71,7 +71,7 @@ module Pod ...@@ -71,7 +71,7 @@ module Pod
output = stdout.join("\n") + stderr.join("\n") output = stdout.join("\n") + stderr.join("\n")
unless status.success? unless status.success?
if raise_on_failure if raise_on_failure
raise Informative, "#{name} #{command}\n\n#{output}" raise Informative, "#{full_command}\n\n#{output}"
else else
UI.message("[!] Failed: #{full_command}".red) UI.message("[!] Failed: #{full_command}".red)
end 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