Add the fault handler in order to try to get a proper crash stack

This commit is contained in:
Julien Duponchelle 2015-05-17 12:45:09 +02:00
parent f169455ad4
commit c5171b887f

View File

@ -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