Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dni
Copy link
Member

@dni dni commented May 9, 2024

refactor exceptionhandlers into exception.py also now always throw payment error when pay_invoice and invoice errors when create_invoice.

return a status flag with the detailed error message. with a 520 response

@codecov
Copy link

codecov bot commented May 9, 2024

Codecov Report

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

Project coverage is 61.75%. Comparing base (33c6806) to head (96bbf45).
Report is 1 commits behind head on dev.

Files Patch % Lines
lnbits/exceptions.py 75.47% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2484      +/-   ##
==========================================
+ Coverage   61.65%   61.75%   +0.09%     
==========================================
  Files          68       69       +1     
  Lines        9720     9729       +9     
==========================================
+ Hits         5993     6008      +15     
+ Misses       3727     3721       -6     

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

@dni dni force-pushed the refactor-payment-exceptions branch 3 times, most recently from 9da23a5 to f55b1b3 Compare May 10, 2024 11:44
@dni dni requested a review from arcbtc May 10, 2024 14:58
@dni dni force-pushed the refactor-payment-exceptions branch from 466ffac to 5c84fb0 Compare May 11, 2024 09:28
…evel

refactor exceptionhandlers into `exception.py` also now always throw
payment error when pay_invoice and invoice errors when create_invoice.

return a status flag with the detailed error message. with a 520
response

ruff
@dni dni force-pushed the refactor-payment-exceptions branch from 5c84fb0 to 96bbf45 Compare May 11, 2024 09:34
@motorina0 motorina0 requested a review from talvasconcelos May 13, 2024 11:50
@dni dni merged commit 78fc285 into dev May 13, 2024
@dni dni deleted the refactor-payment-exceptions branch May 13, 2024 15:58
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