Index: third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py |
diff --git a/third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py b/third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py |
index f2b0ddc3b17896095ed2a2adf208847cf0d36eb9..a984de98d2e838c077e23bd9a2a56a3895aaeea3 100755 |
--- a/third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py |
+++ b/third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py |
@@ -24,16 +24,10 @@ def pub_get(dart_sdk_path, target_directory): |
# simultaneous builds in different repos stomping on each other. |
env = os.environ.copy() |
env["PUB_CACHE"] = os.path.join(os.getcwd(), "dart-pub-cache") |
- try: |
- subprocess.check_output(cmd, shell=False, |
- stderr=subprocess.STDOUT, |
- cwd=target_directory, |
- env=env) |
- except subprocess.CalledProcessError as e: |
- print('Error running pub get in %s' % target_directory) |
- print(e.output) |
- raise e |
- |
+ subprocess.check_output(cmd, shell=False, |
+ stderr=subprocess.STDOUT, |
+ cwd=target_directory, |
+ env=env) |
def main(repository_root, dart_sdk_path, dirs_to_ignore): |