Better error message if exec fails
This commit is contained in:
parent
a9895432ce
commit
4ce19ae2d7
@ -322,6 +322,9 @@ protected
|
|||||||
raise
|
raise
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
rescue SystemCallError
|
||||||
|
# usually because exec could not be find the command that was requested
|
||||||
|
raise
|
||||||
rescue
|
rescue
|
||||||
raise BuildError.new(cmd, args, $?)
|
raise BuildError.new(cmd, args, $?)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user