From 189c03529a653dfaef217d04944d5307dcec2ce8 Mon Sep 17 00:00:00 2001 From: Paweł Jastrzębski Date: Thu, 18 Feb 2016 18:11:48 +0100 Subject: Replaced own error reporting mechanism with Sentry --- kcc.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kcc.py') diff --git a/kcc.py b/kcc.py index 47a38de..50e564d 100755 --- a/kcc.py +++ b/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) -- cgit 1.4.1