Skip to content

Commit 97efba7

Browse files
author
chengyitian
committed
AJ-697、AJ-852: modify error log info for 'run' method;
1 parent 68bc7fb commit 97efba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/xxdb/DBConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,9 @@ private Entity run(String script, String scriptType, ProgressListener listener,
738738

739739
if (!header.equals("OK")){
740740
if (scriptType == "script")
741-
throw new IOException(hostName_+":"+port_+" Server response: " + header + ". script: " + script + "");
741+
throw new IOException(hostName_+":"+port_+" Server response: " + header + " script: " + script + "");
742742
else
743-
throw new IOException(hostName_+":"+port_+" Server response: " + header + ". " + scriptType + ": " + script + "");
743+
throw new IOException(hostName_+":"+port_+" Server response: " + header + " " + scriptType + ": " + script + "");
744744
}
745745

746746
if (numObject == 0){

0 commit comments

Comments
 (0)