mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-15 12:17:28 +08:00
logger: change from warn to warning
This commit is contained in:
@@ -157,7 +157,7 @@ class WaccaLily(WaccaS):
|
||||
else:
|
||||
profile = self.data.profile.get_profile(req.userId)
|
||||
if profile is None:
|
||||
self.logger.warn(
|
||||
self.logger.warning(
|
||||
f"Unknown user id {req.userId} attempted login from {req.chipId}"
|
||||
)
|
||||
return resp.make()
|
||||
@@ -198,7 +198,7 @@ class WaccaLily(WaccaS):
|
||||
|
||||
profile = self.data.profile.get_profile(req.userId)
|
||||
if profile is None:
|
||||
self.logger.warn(f"Unknown profile {req.userId}")
|
||||
self.logger.warning(f"Unknown profile {req.userId}")
|
||||
return resp.make()
|
||||
|
||||
self.logger.info(f"Get detail for profile {req.userId}")
|
||||
|
||||
Reference in New Issue
Block a user