Skip to content

Commit adf1173

Browse files
authored
[fix](catalog)Fix internal program error causing client to get stuck … (#37821)
…(#37551) pick: #37551
1 parent 9ff129b commit adf1173

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fe/fe-core/src/main/java/org/apache/doris/datasource/CatalogFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private static CatalogIf createCatalog(long catalogId, String name, String resou
153153
// If failed, it will throw exception and the catalog will not be created.
154154
try {
155155
catalog.initAccessController(true);
156-
} catch (Exception e) {
156+
} catch (Throwable e) {
157157
LOG.warn("Failed to init access controller", e);
158158
throw new DdlException("Failed to init access controller: " + e.getMessage());
159159
}

fe/fe-core/src/main/java/org/apache/doris/mysql/ReadListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void handleEvent(ConduitStreamSourceChannel channel) {
5656
ctx.stopAcceptQuery();
5757
ctx.cleanup();
5858
}
59-
} catch (Exception e) {
59+
} catch (Throwable e) {
6060
LOG.warn("Exception happened in one session(" + ctx + ").", e);
6161
ctx.setKilled();
6262
ctx.cleanup();

0 commit comments

Comments
 (0)