mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Report aiohttp version in crash report
This commit is contained in:
parent
8e9c480d8d
commit
9c71e96fd4
@ -18,6 +18,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import struct
|
import struct
|
||||||
|
import aiohttp
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ class CrashReport:
|
|||||||
"os:win_32": " ".join(platform.win32_ver()),
|
"os:win_32": " ".join(platform.win32_ver()),
|
||||||
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
|
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
|
||||||
"os:linux": " ".join(platform.linux_distribution()),
|
"os:linux": " ".join(platform.linux_distribution()),
|
||||||
|
"aiohttp:version": aiohttp.__version__,
|
||||||
"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]),
|
||||||
|
Loading…
Reference in New Issue
Block a user