Skip to content

Commit 30b5705

Browse files
committed
Change OAuth logger exceptions to warnings
1 parent 705c6aa commit 30b5705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plain-oauth/plain/oauth/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get(self) -> Response:
3737
try:
3838
return provider_instance.handle_callback_request(request=self.request)
3939
except OAuthError as e:
40-
logger.exception("OAuth error")
40+
logger.warning("OAuth error: %s", e.message)
4141
self.oauth_error = e
4242

4343
response = super().get()

0 commit comments

Comments
 (0)