mirror of
https://github.com/apache/nifi.git
synced 2025-02-07 10:38:33 +00:00
NIFI-7923 Catch Throwable instead of Exception in NarAutoLoaderTask so that thread won't die (#4623)
This commit is contained in:
parent
4fee076561
commit
e7f244f267
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user