You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/12/14 09:23:21 UTC
[iotdb] branch rel/0.10 updated: change log way (#2265)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.10 by this push:
new 7c35a0b change log way (#2265)
7c35a0b is described below
commit 7c35a0b74bd203645b293c2d134f2821d776feeb
Author: Jackie Tien <Ja...@foxmail.com>
AuthorDate: Mon Dec 14 17:21:23 2020 +0800
change log way (#2265)
---
server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 9986b4c..1015881 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
@@ -599,7 +599,7 @@ 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) {
logger.error("{}: Internal server error: ", IoTDBConstant.GLOBAL_DB_NAME, e);