Skip to content

Commit dc9c9f7

Browse files
committed
Use faulthandler package.
1 parent 6a415cd commit dc9c9f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mapclient/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import sys
2323
import ctypes
2424
import argparse
25+
import faulthandler
2526

2627
import locale
2728

@@ -85,6 +86,7 @@ def windows_main(workflow, execute_now):
8586
my_app_id = 'MusculoSkeletal.MAPClient' # arbitrary string
8687
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(my_app_id)
8788

89+
faulthandler.enable()
8890
# import the locale, and set the locale. This is used for
8991
# locale-aware number to string formatting
9092
locale.setlocale(locale.LC_ALL, '')

0 commit comments

Comments
 (0)