mblackgeo / flask-cognito-lib

A Flask extension that supports protecting routes with AWS Cognito following OAuth 2.1 best practices
https://mblackgeo.github.io/flask-cognito-lib/
MIT License
57 stars 15 forks source link

Add descriptions to exceptions #47

Closed Raudcu closed 1 month ago

Raudcu commented 1 month ago

This is because HTTPException.description can no longer be None in werkzeug 2.x (commit)

In this PR I only add a very simple description to both exceptions to avoid the errors

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (ece4645) to head (cfdfb4e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #47 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 9 9 Lines 398 400 +2 ========================================= + Hits 398 400 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mblackgeo commented 1 month ago

Thanks!