1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Add more informations in crash reports

This commit is contained in:
Julien Duponchelle 2015-03-05 20:05:46 +01:00
parent 1d0ffe4b2e
commit a4da6c6a74

View File

@ -55,6 +55,9 @@ class CrashReport:
self._client.tags_context({ self._client.tags_context({
"os:name": platform.system(), "os:name": platform.system(),
"os:release": platform.release(), "os:release": platform.release(),
"os:win_32": platform.win32_ver(),
"os:mac": platform.mac_ver(),
"os:linux": platform.linux_distribution(),
"python:version": "{}.{}.{}".format(sys.version_info[0], "python:version": "{}.{}.{}".format(sys.version_info[0],
sys.version_info[1], sys.version_info[1],
sys.version_info[2]), sys.version_info[2]),