diff options
-rw-r--r-- | src/uscxml/interpreter/FastMicroStep.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uscxml/interpreter/FastMicroStep.cpp b/src/uscxml/interpreter/FastMicroStep.cpp index 4f89e1e..2a95c9c 100644 --- a/src/uscxml/interpreter/FastMicroStep.cpp +++ b/src/uscxml/interpreter/FastMicroStep.cpp @@ -725,6 +725,9 @@ InterpreterState FastMicroStep::step(size_t blockMs) { for (auto invIter = USCXML_GET_STATE(i).invoke.begin(); invIter != USCXML_GET_STATE(i).invoke.end(); invIter++) { try { _callbacks->invoke(*invIter); + } catch (ErrorEvent e) { + LOG(_callbacks->getLogger(), USCXML_WARN) << e; + // TODO: Shall we deliver the event into the interpreter runtime? } catch (...) { } } |