Skip to content

Commit

Permalink
enhance: Enhance log messages when Connect with server failed (#2377)
Browse files Browse the repository at this point in the history
See also: #2355

Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored Nov 26, 2024
1 parent a086a9d commit 15374f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymilvus/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ def handler(*args, **kwargs):
except grpc.RpcError as e:
if e.code() == grpc.StatusCode.UNIMPLEMENTED:
msg = (
"this version of sdk is incompatible with server, "
"please downgrade your sdk or upgrade your server"
"Incorrect port or sdk is incompatible with server, "
"please check your port or downgrade your sdk or upgrade your server"
)
raise MilvusException(message=msg) from e
raise e from e
Expand Down

0 comments on commit 15374f6

Please sign in to comment.