mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-13 17:40:54 +00:00
Merge branch 'master' into unstable
This commit is contained in:
commit
85c185604e
@ -19,10 +19,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import struct
|
import struct
|
||||||
import platform
|
import platform
|
||||||
import faulthandler
|
|
||||||
|
|
||||||
# Display a traceback in case of segfault crash. Usefull when frozen
|
|
||||||
faulthandler.enable()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import raven
|
import raven
|
||||||
@ -39,6 +36,16 @@ import logging
|
|||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
# Dev build
|
||||||
|
if __version__[4] != 0:
|
||||||
|
import faulthandler
|
||||||
|
|
||||||
|
# Display a traceback in case of segfault crash. Usefull when frozen
|
||||||
|
# Not enabled by default for security reason
|
||||||
|
log.info("Enable catching segfault")
|
||||||
|
faulthandler.enable()
|
||||||
|
|
||||||
|
|
||||||
class CrashReport:
|
class CrashReport:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user