Skip to content

Commit

Permalink
Removed a redundant try:except block
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Fernandes Vieira committed Dec 11, 2018
1 parent cc5bde2 commit 6ebfb0f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions _log.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ def report(self, id, detail="", critical=False): # reports events in the log
self.repeated_count = 0
self.repeated_line = id + detail

try:
self.insert(id, detail)
except:
# log the raw string if it was not identified
self.insert(id, detail)
self.insert(id, detail)


if critical:
Expand Down

0 comments on commit 6ebfb0f

Please sign in to comment.