Dont' crash get_name_for_profile in any situation

Because it will crash the whole payload creation.
merge-requests/159/head
Jason Robinson 2020-02-17 23:56:15 +02:00
rodzic 26872a87c3
commit 529a3bc5cc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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