holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.8k stars 519 forks source link

fix: Log authorization callback errors #7463

Closed hoxbro closed 2 weeks ago

hoxbro commented 2 weeks ago

So a warning is emitted if something goes wrong in the authentication callback.

Also, set the status code if no auth fails to 403.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.30%. Comparing base (c06f779) to head (c3b3f8c). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
panel/io/server.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7463 +/- ## ======================================= Coverage 82.30% 82.30% ======================================= Files 338 338 Lines 50819 50838 +19 ======================================= + Hits 41825 41843 +18 - Misses 8994 8995 +1 ```

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