mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[GN] Fix gn_run_binary.py for different error
The debian package builder is throwing a different kind of error. related #31613 Change-Id: I293b31aab310867656ba05b6f62afc8bdc9285e4 Reviewed-on: https://dart-review.googlesource.com/30467 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Zach Anderson <zra@google.com>
This commit is contained in:
parent
cf0b75bc1d
commit
75a50a1c1c
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ def run_command(command):
|
|||
except subprocess.CalledProcessError as e:
|
||||
return ("Command failed: " + ' '.join(command) + "\n" +
|
||||
"output: " + e.output)
|
||||
except OSError as e:
|
||||
return ("Command failed: " + ' '.join(command) + "\n" +
|
||||
"output: " + e.strerror)
|
||||
|
||||
def main(argv):
|
||||
error_exit = 0
|
||||
|
|
Loading…
Reference in a new issue