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(auth): improve unauthorized errors handling #637

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Conversation

ernado
Copy link
Member

@ernado ernado commented Dec 20, 2021

Fix #636

@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #637 (c200af5) into main (09e25ef) will decrease coverage by 0.21%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #637      +/-   ##
==========================================
- Coverage   68.73%   68.51%   -0.22%     
==========================================
  Files         421      421              
  Lines       20016    20016              
==========================================
- Hits        13757    13713      -44     
- Misses       5371     5419      +48     
+ Partials      888      884       -4     
Impacted Files Coverage Δ
telegram/auth.go 0.00% <ø> (-15.39%) ⬇️
telegram/pool.go 0.00% <0.00%> (ø)
telegram/auth/auth.go 50.00% <100.00%> (-50.00%) ⬇️
telegram/auth/status.go 60.71% <100.00%> (ø)
telegram/connect.go 87.37% <100.00%> (ø)
telegram/updates/update.go 9.52% <0.00%> (-61.91%) ⬇️
telegram/updates/state_channel.go 45.75% <0.00%> (-7.08%) ⬇️
telegram/updates/internal/e2e/server.go 65.38% <0.00%> (-6.16%) ⬇️
telegram/updates/state.go 48.71% <0.00%> (-2.57%) ⬇️
... and 3 more

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 09e25ef...c200af5. Read the comment docs.

@ernado ernado merged commit fdf0b30 into main Dec 20, 2021
@ernado ernado deleted the fix/auth-handle-401 branch December 20, 2021 09:51
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.

[bug]: Authorization error SESSION_REVOKED
1 participant