We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1882b commit ea791f4Copy full SHA for ea791f4
engine/src/simulation.cpp
@@ -199,6 +199,15 @@ class SimulationMachine
199
}
200
} catch (cloe::AsyncAbort&) {
201
this->push_interrupt(ABORT);
202
+ } catch (cloe::ModelReset& e) {
203
+ logger()->error("Unhandled reset request in {} state: {}", id, e.what());
204
+ this->push_interrupt(RESET);
205
+ } catch (cloe::ModelAbort& e) {
206
+ logger()->error("Unhandled abort request in {} state: {}", id, e.what());
207
+ this->push_interrupt(ABORT);
208
+ } catch (cloe::ModelError& e) {
209
+ logger()->error("Unhandled model error in {} state: {}", id, e.what());
210
211
} catch (std::exception& e) {
212
logger()->critical("Fatal error in {} state: {}", id, e.what());
213
throw;
0 commit comments