Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -413,14 +413,14 @@ public void processLoadSnapshot(final File snapshotDir) throws IOException {
pipePluginMetaKeeper.addPipePluginVisibility(
pluginName, VisibilityUtils.calculateFromPluginClass(pluginClass));
classLoaderManager.addPluginAndClassLoader(pluginName, pipePluginClassLoader);
} catch (final Exception e) {
} catch (final Throwable e) {
try {
pipePluginClassLoader.close();
} catch (final Exception ignored) {
}
throw e;
}
} catch (final Exception e) {
} catch (final Throwable e) {
LOGGER.warn(
"Failed to load plugin class for plugin [{}] when loading snapshot [{}] ",
pluginName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static synchronized void launchPipePluginAgent(
}
PipeDataNodeAgent.plugin().doRegister(meta);
}
} catch (Exception e) {
} catch (Throwable e) {
// Ignore the pipe plugin errors and continue to start
LOGGER.warn("Failure when register pipe plugins, will ignore.", e);
}
Expand Down
Loading