mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-31 05:13:49 +02:00
Add the fault handler in order to try to get a proper crash stack
This commit is contained in:
parent
f169455ad4
commit
c5171b887f
@ -19,6 +19,10 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user