Skip to content

Commit 94d2fe9

Browse files
committed
update
1 parent 77a6944 commit 94d2fe9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dolphindb_csharpapi/DBConnection.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,12 @@ public virtual IEntity run(string script, ProgressListener listener)
400400
{
401401
if (ServerExceptionUtils.isNotLogin(msg))
402402
{
403-
if (userId.Length > 0 && password.Length > 0) login();
403+
if (userId.Length > 0 && password.Length > 0)
404+
login();
405+
else
406+
throw new IOException(msg);
404407
}
408+
405409
else
406410
{
407411
throw new IOException(msg);
Binary file not shown.

0 commit comments

Comments
 (0)