about summary refs log tree commit diff
path: root/kcc.py
diff options
context:
space:
mode:
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)