commit | 79d7ecd06a8440b005417e53f45354e4c8bb800b | [log] [tgz] |
---|---|---|
author | Michael Spang <spang@google.com> | Fri Jun 11 16:16:26 2021 -0400 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 11 20:59:49 2021 +0000 |
tree | 328654972f7d619233a6459eea9bac611e6e752b | |
parent | 1e2142c910fea02bcd94c938fdac421a16fae2af [diff] |
pw_build: Fix exception handling in mirror_tree When linking fails, we fall back to copying. This always fails because the original reception is re-raised even if the copy succeeds. Just remove the exception management in the copy case. If copying fails, we'll get both exceptions reported in a chain. No-Docs-Update-Reason: bug fix Change-Id: I49f0b381ba0e607f46725d1cd59bb16b811c7cf2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48700 Commit-Queue: Michael Spang <spang@google.com> Reviewed-by: Rob Mohr <mohrr@google.com>
See our website: http://pigweed.dev