NIFI-7923 Catch Throwable instead of Exception in NarAutoLoaderTask so that thread won't die (#4623)

This commit is contained in:
Bryan Bende 2020-10-27 12:33:08 -04:00 committed by GitHub
parent 4fee076561
commit e7f244f267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,8 +128,8 @@ public class NarAutoLoaderTask implements Runnable {
narLoader.load(readyNars);
}
} catch (final Exception e) {
LOGGER.error("Error loading NARs due to: " + e.getMessage(), e);
} catch (final Throwable t) {
LOGGER.error("Error loading NARs due to: " + t.getMessage(), t);
}
}
}