Skip to content

Commit

Permalink
added unexpectedError
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Lodi committed Jan 4, 2019
1 parent 816053b commit a20ce52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/AbuseIPDB/abuseipdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def run(self):
else:
self.notSupported()
except Exception as e:
self.error('Run failed\n Error:{}'.format(e))
self.unexpectedError(e)

def summary(self, raw):

Expand All @@ -77,7 +77,7 @@ def summary(self, raw):
return {"taxonomies": taxonomies}

except Exception as e:
self.error('Summary failed\n Error:{}'.format(e))
self.unexpectedError(e)


if __name__ == '__main__':
Expand Down

0 comments on commit a20ce52

Please sign in to comment.