Skip to content
Merged
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 @@ -161,7 +161,7 @@ private static CatalogIf createCatalog(long catalogId, String name, String resou
// If failed, it will throw exception and the catalog will not be created.
try {
catalog.initAccessController(true);
} catch (Exception e) {
} catch (Throwable e) {
LOG.warn("Failed to init access controller", e);
throw new DdlException("Failed to init access controller: " + e.getMessage());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void handleEvent(ConduitStreamSourceChannel channel) {
ctx.stopAcceptQuery();
ctx.cleanup();
}
} catch (Exception e) {
} catch (Throwable e) {
LOG.warn("Exception happened in one session(" + ctx + ").", e);
ctx.setKilled();
ctx.cleanup();
Expand Down