This commit is contained in:
parent
78c21cc507
commit
335366d064
@ -14,6 +14,7 @@ def generate_avatar_svg(seed: str) -> str:
|
||||
if svg and svg.strip().startswith("<svg"):
|
||||
return svg
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
logger.warning(f"Avatar generation failed for {seed}: {e}")
|
||||
initial = seed[:1].upper() if seed else "?"
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user