kopia lustrzana https://gitlab.com/jaywink/federation
Dont' crash get_name_for_profile in any situation
Because it will crash the whole payload creation.merge-requests/159/head
rodzic
26872a87c3
commit
529a3bc5cc
|
@ -34,5 +34,5 @@ def get_name_for_profile(fid: str) -> Optional[str]:
|
|||
return profile.username
|
||||
else:
|
||||
return profile.name
|
||||
except ImportError:
|
||||
except Exception:
|
||||
pass
|
||||
|
|
Ładowanie…
Reference in New Issue