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

Send TApplicationException to client if raised #154

Merged
merged 1 commit into from
Jan 15, 2021
Merged

Conversation

aisk
Copy link
Member

@aisk aisk commented Jan 15, 2021

Currently TApplicationException raised from user's codes (RPC handler) will be treated as normal Pyhthon error. But if we can send it to client, it will be convenient to use it to handle any unknown exceptions.

@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #154 (df80fbb) into master (f7f8f11) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   84.13%   84.23%   +0.10%     
==========================================
  Files          44       44              
  Lines        4141     4143       +2     
==========================================
+ Hits         3484     3490       +6     
+ Misses        657      653       -4     
Impacted Files Coverage Δ
thriftpy2/thrift.py 90.39% <100.00%> (+1.50%) ⬆️

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 f7f8f11...df80fbb. Read the comment docs.

@ethe ethe merged commit c4a5297 into master Jan 15, 2021
@aisk aisk deleted the handle-tapplication branch January 15, 2021 09:15
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.

2 participants