diff options
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r-- | kernel/yosys.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index d5467afe1..b280d3344 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -720,9 +720,9 @@ void run_frontend(std::string filename, std::string command, RTLIL::Design *desi Pass::call(design, command); } } - catch (log_cmd_error_exception) { + catch (...) { Frontend::current_script_file = backup_script_file; - throw log_cmd_error_exception(); + throw; } Frontend::current_script_file = backup_script_file; |