diff options
author | martinko | 2013-08-09 14:03:34 +0000 |
---|---|---|
committer | martinko | 2013-08-09 14:03:34 +0000 |
commit | 49ac8090682a5d76b577eeade3e29c9e4d83650c (patch) | |
tree | 0bd7141f24ccaa9cdaf2120006263bfe47d4f36a /python/skytools/scripting.py | |
parent | aae5c5b1dde3e456189cdff0fa1cd7b5cb369aa8 (diff) | |
parent | 344d063d4e61bdd382d9e1977964fa1fe6363991 (diff) |
Merge branch 'release/skytools_3_1_5'skytools_3_1_5
Diffstat (limited to 'python/skytools/scripting.py')
-rw-r--r-- | python/skytools/scripting.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py index a5e82663..840f3cf4 100644 --- a/python/skytools/scripting.py +++ b/python/skytools/scripting.py @@ -588,7 +588,10 @@ class BaseScript(object): self.reset() sys.exit(1) except Exception, d: - self.send_stats() + try: # this may fail too + self.send_stats() + except: + pass emsg = str(d).rstrip() self.reset() self.exception_hook(d, emsg) |