Report failure to the trace.

This commit is contained in:
Fedor Isakov 2017-02-27 16:06:32 +01:00
parent 6cac64b6bd
commit cab0931cc1
1 changed files with 6 additions and 3 deletions

View File

@ -126,10 +126,13 @@ class Controller(
frameStack.reset(savedFrame)
}
if (failure == null) {
// normal termination: skip the other alternatives
break
if (failure != null) {
trace.failure(failure)
continue
}
// normal termination: skip the other alternatives
break
}
if (failure != null) {