use of org.sakuli.exceptions.SakuliExceptionHandler in project sakuli by ConSol.
the class SakuliExceptionListener method onTestFailure.
@Override
public void onTestFailure(ITestResult tr) {
SakuliExceptionHandler exceptionHandler = BeanLoader.loadBaseActionLoader().getExceptionHandler();
if (!exceptionHandler.isAlreadyProcessed(tr.getThrowable())) {
exceptionHandler.handleException(tr.getThrowable());
}
super.onTestFailure(tr);
}
Aggregations