mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
Fix logger.warn error
Co-authored-by: poljar <poljar@termina.org.uk>
This commit is contained in:
parent
3c5e42896f
commit
908c1a16be
@ -581,7 +581,10 @@ class ProxyDaemon:
|
||||
|
||||
if password == "":
|
||||
if device_id is None:
|
||||
logger.warn(f"Empty password provided and device_id was also None")
|
||||
logger.warn(
|
||||
"Empty password provided and device_id was also None, not "
|
||||
"starting background sync client "
|
||||
)
|
||||
return
|
||||
# If password is blank, we cannot login normally and must
|
||||
# fall back to using the provided device_id.
|
||||
|
Loading…
Reference in New Issue
Block a user