about summary refs log tree commit diff
path: root/kcc.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2016-02-18 18:11:48 +0100
committerPaweł Jastrzębski <pawelj@iosphe.re>2016-02-18 18:11:48 +0100
commit189c03529a653dfaef217d04944d5307dcec2ce8 (patch)
tree2cb878db69c17b64ef080106f07253f328882eb6 /kcc.py
parentOverhauled Linux build environment (diff)
downloadkcc-189c03529a653dfaef217d04944d5307dcec2ce8.tar.gz
kcc-189c03529a653dfaef217d04944d5307dcec2ce8.tar.bz2
kcc-189c03529a653dfaef217d04944d5307dcec2ce8.zip
Replaced own error reporting mechanism with Sentry
Diffstat (limited to 'kcc.py')
-rwxr-xr-xkcc.py6
1 files changed, 6 insertions, 0 deletions
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)