1
0
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:
Paweł Jastrzębski
2016-02-18 18:11:48 +01:00
parent c9cf635229
commit 189c03529a
5 changed files with 23 additions and 30 deletions

6
kcc.py
View File

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