### What problem does this PR solve?

### Type of change
- [x] Refactoring
This commit is contained in:
Kevin Hu
2024-12-31 14:31:31 +08:00
committed by GitHub
parent b52b0f68fc
commit 4ba4f622a5
6 changed files with 11 additions and 15 deletions

View File

@ -152,8 +152,8 @@ def load_user(web_request):
return user[0]
else:
return None
except Exception:
logging.exception("load_user got exception")
except Exception as e:
logging.warning(f"load_user got exception {e}")
return None
else:
return None