Skip to content

Commit

Permalink
Not always service_name available (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnboers authored Nov 11, 2020
1 parent 05bb5a2 commit 2e65483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blottertrax/applications/submissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _do_service_checks(self, parsed_submission, submission) -> bool:

except Exception:
# Go ahead and continue execution, don't want to fail completely just because one service failed.
self.logger.exception(f"Getting {service.service_name} failed")
self.logger.exception(f"Getting {type(service).__name__} failed")
self.database.log_error_causing_submission(parsed_submission, submission, traceback.format_exc())

# TODO: Enable this when new rules roll out.
Expand Down

0 comments on commit 2e65483

Please sign in to comment.