Merge pull request #4294 from woodruffw/macho-warn-parse-error

mach: Always report Mach-O parsing errors
This commit is contained in:
William Woodruff 2018-06-07 00:05:57 -04:00 committed by GitHub
commit 08b576cace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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