mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Replaced own error reporting mechanism with Sentry
This commit is contained in:
6
kcc.py
6
kcc.py
@@ -56,6 +56,12 @@ elif sys.platform.startswith('win'):
|
||||
else:
|
||||
os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/windows/;' + os.environ['PATH']
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
# Load additional Sentry configuration
|
||||
if getattr(sys, 'frozen', False):
|
||||
try:
|
||||
import kcc.sentry
|
||||
except:
|
||||
pass
|
||||
|
||||
from kcc.shared import dependencyCheck
|
||||
dependencyCheck(3)
|
||||
|
||||
Reference in New Issue
Block a user