doPlugin error handling

This commit is contained in:
stellamit 2012-06-05 14:28:33 +00:00
parent 20b04e3e8e
commit 69d4839529

View file

@ -1344,9 +1344,9 @@ public class SimpleReasoner extends StatementListener {
}
break;
}
} catch (Throwable t) {
} catch (Exception e) {
log.error("Exception while processing " + (op == ModelUpdate.Operation.ADD ? "an added" : "a removed") +
" statement in SimpleReasoner plugin:" + plugin.getClass().getName() + " -- " + t.getMessage());
" statement in SimpleReasoner plugin:" + plugin.getClass().getName() + " -- " + e.getMessage());
}
}
}