mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-22 14:05:19 +02:00
refactor: remove macOS and Windows crash report info
This commit is contained in:
2 files changed
-11
No files matched your search
@@ -340,15 +340,6 @@ async def controller_ws_notifications(
|
||||
# # If something is wrong we log the info to the log and we hope the log will be include correctly to the debug export
|
||||
# log.error("Could not export debug information {}".format(e), exc_info=1)
|
||||
#
|
||||
# try:
|
||||
# if Controller.instance().gns3vm.engine == "vmware":
|
||||
# vmx_path = Controller.instance().gns3vm.current_engine().vmx_path
|
||||
# if vmx_path:
|
||||
# shutil.copy(vmx_path, os.path.join(debug_dir, os.path.basename(vmx_path)))
|
||||
# except OSError as e:
|
||||
# # If something is wrong we log the info to the log and we hope the log will be include correctly to the debug export
|
||||
# log.error("Could not copy VMware VMX file {}".format(e), exc_info=1)
|
||||
#
|
||||
# for compute in list(Controller.instance().computes.values()):
|
||||
# try:
|
||||
# r = await compute.get("/debug", raw=True)
|
||||
|
||||
@@ -83,8 +83,6 @@ class CrashReport:
|
||||
tags = {
|
||||
"os:name": platform.system(),
|
||||
"os:release": platform.release(),
|
||||
"os:win_32": " ".join(platform.win32_ver()),
|
||||
"os:mac": f"{platform.mac_ver()[0]} {platform.mac_ver()[2]}",
|
||||
"os:linux": distro.name(pretty=True),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user