Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

avatar: Fix missing variable interpolation in log message.

Tejaswini Medandraoe961504363a1
diff --git a/zerver/lib/avatar.py b/zerver/lib/avatar.py
index 470b8bcbd5c..d518cd837fc 100644
--- a/zerver/lib/avatar.py
+++ b/zerver/lib/avatar.py
@@ -207,7 +207,7 @@ def generate_avatar_jdenticon(input: str, medium: bool) -> bytes:
stdout = subprocess.check_output(command)
return stdout
except subprocess.CalledProcessError as error: # nocoverage
- logger.exception("Jdenticon generation failed for user_id:{input}")
+ logger.exception("Jdenticon generation failed for user_id: %s", input)
raise error