Skip to content

Commit

Permalink
better debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 19, 2024
1 parent 5ff59a4 commit 5ece164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/core/event/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def parent(self, parent):
if t in ("spider-danger", "spider-max"):
self.add_tag(t)
elif not self._dummy:
log.warning(f"Tried to set invalid parent on {self}: (got: {parent})")
log.warning(f"Tried to set invalid parent on {self}: (got: {repr(parent)} ({type(parent)}))")

@property
def parent_id(self):
Expand Down

0 comments on commit 5ece164

Please sign in to comment.