mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Rethrow with "catch(...) throw;"
This commit is contained in:
@@ -85,9 +85,9 @@ struct TracePass : 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 (...) {
|
||||
design->monitors.erase(&monitor);
|
||||
throw log_cmd_error_exception();
|
||||
throw;
|
||||
}
|
||||
|
||||
design->monitors.erase(&monitor);
|
||||
|
||||
Reference in New Issue
Block a user