diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-25 22:57:09 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-25 22:57:09 +0100 |
commit | 13b50bacfee1ea1651cbdccd7522f3d03cab5675 (patch) | |
tree | 9189a9a8c89601aa51a4a17e88cd37283427a1a6 /passes/cmds/tee.cc | |
parent | acfaeb8d34f6be33e09f780159a6ec702357697d (diff) | |
download | yosys-13b50bacfee1ea1651cbdccd7522f3d03cab5675.tar.gz yosys-13b50bacfee1ea1651cbdccd7522f3d03cab5675.tar.bz2 yosys-13b50bacfee1ea1651cbdccd7522f3d03cab5675.zip |
Rethrow with "catch(...) throw;"
Diffstat (limited to 'passes/cmds/tee.cc')
-rw-r--r-- | passes/cmds/tee.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/tee.cc b/passes/cmds/tee.cc index e83c93871..a0484090f 100644 --- a/passes/cmds/tee.cc +++ b/passes/cmds/tee.cc @@ -76,11 +76,11 @@ struct TeePass : public Pass { try { std::vector<std::string> new_args(args.begin() + argidx, args.end()); Pass::call(design, new_args); - } catch (log_cmd_error_exception) { + } catch (...) { for (auto cf : files_to_close) fclose(cf); log_files = backup_log_files; - throw log_cmd_error_exception(); + throw; } for (auto cf : files_to_close) |