in src/main/java/org/jetbrains/jetCheck/Scenario.java [20:34]
private Scenario(@NotNull ImperativeCommand cmd, @NotNull GenerationEnvironment data, Consumer<String> logConsumer) {
this.logConsumer = logConsumer;
try {
performCommand(cmd, data, "");
}
catch (DataSerializer.EOFException e) {
throw e;
}
catch (Throwable e) {
addFailure(e);
}
if (failure instanceof CannotRestoreValue || failure instanceof WrongDataStructure) {
throw (RuntimeException) failure;
}
}