diff options
| author | Paweł Jastrzębski <[email protected]> | 2016-02-18 18:11:48 +0100 |
|---|---|---|
| committer | Paweł Jastrzębski <[email protected]> | 2016-02-18 18:11:48 +0100 |
| commit | 189c03529a653dfaef217d04944d5307dcec2ce8 (patch) | |
| tree | 2cb878db69c17b64ef080106f07253f328882eb6 /kcc.py | |
| parent | Overhauled Linux build environment (diff) | |
| download | kcc-189c03529a653dfaef217d04944d5307dcec2ce8.tar.gz kcc-189c03529a653dfaef217d04944d5307dcec2ce8.tar.bz2 kcc-189c03529a653dfaef217d04944d5307dcec2ce8.zip | |
Replaced own error reporting mechanism with Sentry
Diffstat (limited to 'kcc.py')
| -rwxr-xr-x | kcc.py | 6 |
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) |