This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c518ae  Fix throw exception, easy to find bugs.
8c518ae is described below

commit 8c518ae213238a9aa68b2a18b011b35cd87f2d59
Author: wangchao316 <[email protected]>
AuthorDate: Thu Jun 10 10:36:58 2021 +0800

    Fix throw exception, easy to find bugs.
---
 jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDriver.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDriver.java 
b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDriver.java
index 7bef48a..cbece62 100644
--- a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDriver.java
+++ b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDriver.java
@@ -64,7 +64,8 @@ public class IoTDBDriver implements Driver {
     } catch (TTransportException e) {
       throw new SQLException(
           "Connection Error, please check whether the network is available or 
the server"
-              + " has started.");
+              + " has started.",
+          e);
     }
   }
 

Reply via email to