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

refactor: remove source and location in snafu display #2428

Merged
merged 14 commits into from
Sep 21, 2023

Conversation

shuiyisong
Copy link
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This pr mainly removes source and location in snafu display so that clear info is returned to client.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

part of #1854

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #2428 (dad3f3d) into develop (34d6288) will decrease coverage by 0.31%.
Report is 3 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2428      +/-   ##
===========================================
- Coverage    84.81%   84.51%   -0.31%     
===========================================
  Files          727      727              
  Lines       114977   114996      +19     
===========================================
- Hits         97518    97187     -331     
- Misses       17459    17809     +350     

@waynexia waynexia enabled auto-merge September 20, 2023 06:18
Copy link
Contributor

@fengys1996 fengys1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/common/meta/src/error.rs Outdated Show resolved Hide resolved
src/common/procedure/src/local/runner.rs Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
src/common/query/src/error.rs Outdated Show resolved Hide resolved
@waynexia waynexia added this pull request to the merge queue Sep 21, 2023
Merged via the queue into GreptimeTeam:develop with commit 20f4f79 Sep 21, 2023
13 checks passed
@shuiyisong shuiyisong deleted the refactor/error branch September 21, 2023 06:05
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
…am#2428)

* refactor: remove source pt 1

* refactor: remove source pt 2

* refactor: remove source pt 3

* refactor: remove location pt 1

* refactor: remove location pt 2

* chore: remove rustc files

* chore: fix error case

* chore: fix test

* chore: fix test

* chore: fix cr issue

Co-authored-by: fys <[email protected]>

---------

Co-authored-by: fys <[email protected]>
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.

3 participants