-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: change client error message of issue #972 #983
Fix: change client error message of issue #972 #983
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #983 +/- ##
===========================================
+ Coverage 59.59% 59.61% +0.01%
===========================================
Files 261 261
Lines 12930 12930
===========================================
+ Hits 7706 7708 +2
+ Misses 4255 4254 -1
+ Partials 969 968 -1
Continue to review full report at Codecov.
|
remoting/getty/getty_client.go
Outdated
errClientReadTimeout = perrors.New("client read timeout") | ||
errSessionNotExist = perrors.New("session not exist") | ||
errClientClosed = perrors.New("client closed") | ||
errClientReadTimeoutOrDecoedFail = perrors.New("client read timeout or decode pkg fail") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decoed? may be it should be decoded?
93d7315
to
f662099
Compare
f662099
to
780a05c
Compare
May be errClientReadError is better, because the error.news have the details of error. |
…ror-message Fix: change client error message of issue #972
…ror-message Fix: change client error message of issue #972
…ror-message Fix: change client error message of issue #972
为什么数据解析和等待超时的错误在一起,就很无解 |
What this PR does:
fix client error message
Which issue(s) this PR fixes:
Fixes #972
Special notes for your reviewer:
Does this PR introduce a user-facing change?: