Skip to content

Commit

Permalink
Removed failure return from database errback
Browse files Browse the repository at this point in the history
  • Loading branch information
jlashner committed Feb 16, 2020
1 parent 1c33e5c commit fb6fea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/pysmurf_monitor/pysmurf_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _add_file_callback(self, res, d):
def _add_file_errback(self, failure: Failure, d):
"""Errback for when there is an exception when adding file to DB"""
self.log.error(f"ERROR!!! {d['path']} was not added to the database")
return failure
self.log.error(f"Failure:\n{failure}")

def datagramReceived(self, _data, addr):
"""
Expand Down

0 comments on commit fb6fea0

Please sign in to comment.