Skip to content
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

Merged

Conversation

yakecanlee
Copy link
Contributor

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?:


@codecov-io
Copy link

codecov-io commented Jan 4, 2021

Codecov Report

Merging #983 (96a6c30) into develop (9ef971c) will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             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     
Impacted Files Coverage Δ
remoting/getty/getty_client.go 41.97% <0.00%> (ø)
cluster/cluster_impl/failback_cluster_invoker.go 75.90% <0.00%> (+2.40%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ef971c...96a6c30. Read the comment docs.

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")
Copy link
Contributor

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?

remoting/getty/getty_client.go Outdated Show resolved Hide resolved
@yakecanlee yakecanlee force-pushed the feature/fix-client-timeout-error-message branch from 93d7315 to f662099 Compare January 4, 2021 13:15
@yakecanlee yakecanlee force-pushed the feature/fix-client-timeout-error-message branch from f662099 to 780a05c Compare January 4, 2021 13:16
@wenxuwan
Copy link
Member

wenxuwan commented Jan 4, 2021

May be errClientReadError is better, because the error.news have the details of error.

@AlexStocks AlexStocks changed the title Fix: fix client error message #972 Fix: change client error message of issue #972 Jan 5, 2021
@AlexStocks AlexStocks merged commit 9fd1223 into apache:develop Jan 5, 2021
AlexStocks added a commit that referenced this pull request Jan 5, 2021
…ror-message

Fix: change client error message of issue #972
AlexStocks added a commit that referenced this pull request Jan 5, 2021
…ror-message

Fix: change client error message of issue #972
@yakecanlee yakecanlee deleted the feature/fix-client-timeout-error-message branch January 25, 2021 09:04
AlexStocks added a commit that referenced this pull request Apr 14, 2021
…ror-message

Fix: change client error message of issue #972
@wenroutian
Copy link

为什么数据解析和等待超时的错误在一起,就很无解

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants