Merge pull request #4294 from woodruffw/macho-warn-parse-error
mach: Always report Mach-O parsing errors
This commit is contained in:
commit
08b576cace
@ -43,10 +43,8 @@ module MachOShim
|
||||
[]
|
||||
rescue
|
||||
# ... but complain about other (parse) errors for further investigation.
|
||||
if ARGV.homebrew_developer?
|
||||
onoe "Failed to read Mach-O binary: #{self}"
|
||||
raise
|
||||
end
|
||||
raise if ARGV.homebrew_developer?
|
||||
[]
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user