You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/11/11 10:37:37 UTC
[iotdb] branch ZYBug updated: server error
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ZYBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ZYBug by this push:
new b985762 server error
b985762 is described below
commit b98576223989ce4c0d0f52fce180f0c6887460aa
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Wed Nov 11 18:37:19 2020 +0800
server error
---
server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
index 026b294..3aeea24 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
@@ -621,8 +621,10 @@ public class TSServiceImpl implements TSIService.Iface, ServerContext {
return resp;
} catch (NullPointerException e) {
e.printStackTrace();
+ logger.error("{}: Internal server error: ", IoTDBConstant.GLOBAL_DB_NAME, e);
return RpcUtils.getTSExecuteStatementResp(TSStatusCode.INTERNAL_SERVER_ERROR, e.getMessage());
} catch (Exception e) {
+ e.printStackTrace();
logger.error("{}: Internal server error: ", IoTDBConstant.GLOBAL_DB_NAME, e);
if (queryId != -1) {
try {