feature(worker): throw insufficent permissions error

This commit is contained in:
bencvdb 2019-06-25 11:03:14 -07:00
parent 4ffc50a8ff
commit 06652d8f88

View file

@ -110,6 +110,7 @@ class InitializeTask implements ITask {
LOG.error("Application initialize() threw exception: ", e); LOG.error("Application initialize() threw exception: ", e);
} else { } else {
LOG.error("Caught exception: ", e); LOG.error("Caught exception: ", e);
throw new RuntimeException(e);
} }
exception = e; exception = e;
// backoff if we encounter an exception. // backoff if we encounter an exception.