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

[WIP] Wrong func argument is internal error #2269

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

biosvs
Copy link
Collaborator

@biosvs biosvs commented Apr 30, 2024

Depends on #2251

Invalid argument passed to a function doesn't mean that we should return InvalidArgument error. For those cases we should return InternalError, because client can't fix this problem by changing request.

@biosvs biosvs force-pushed the wrong-func-argument-is-internal-error branch from 5d9f758 to 6fa8d16 Compare April 30, 2024 14:36
Copy link

codecov bot commented Apr 30, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 85.22%. Comparing base (23c069f) to head (6fa8d16).

Files Patch % Lines
api/transport/stream.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2269      +/-   ##
==========================================
- Coverage   85.23%   85.22%   -0.02%     
==========================================
  Files         270      270              
  Lines       15555    15557       +2     
==========================================
  Hits        13258    13258              
  Misses       1876     1876              
- Partials      421      423       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

1 participant