goja-web/src/main/java/goja/job/Job.java
@Override
    public void onException(Throwable e) {
        wasError = true;
        lastException = e;
        try {
            super.onException(e);
        } catch (Throwable ex) {
            logger.error("Error during job execution (%s)", this, ex);
        }
    }
@Override
    public void onException(Throwable e) {
        wasError = true;
        lastException = e;
        try {
            super.onException(e);
        } catch (Throwable ex) {
            logger.error("Error during job execution (%s)", this, ex);
        }
    }
Customize Invocation