Skip to content

Commit

Permalink
TS/TJ: LogCollector will ignore exceptions except SystemExit, Keyboar…
Browse files Browse the repository at this point in the history
…dInterrupt and AssertionError.
  • Loading branch information
Seecr Development Team committed Oct 22, 2014
1 parent 4b716eb commit 4db8253
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meresco/components/log/logcollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# "Meresco Components" are components to build searchengines, repositories
# and archives, based on "Meresco Core".
#
# Copyright (C) 2014 SURF http://www.surf.nl
# Copyright (C) 2014 Seecr (Seek You Too B.V.) http://seecr.nl
# Copyright (C) 2014 Stichting Bibliotheek.nl (BNL) http://www.bibliotheek.nl
# Copyright (C) 2014 Stichting Kennisnet http://www.kennisnet.nl
Expand Down Expand Up @@ -102,7 +103,9 @@ def _writeLog(self, collectedLog):
if collectedLog:
try:
self.do.writeLog(collectedLog=collectedLog)
except:
except AssertionError:
raise
except Exception:
print_exc()


Expand Down

0 comments on commit 4db8253

Please sign in to comment.