Skip to content

Commit afd7d33

Browse files
committed
feat: better logging on activity bot connections
1 parent 1385d51 commit afd7d33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

barkr/connections/mastodon_activity_bot.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,11 @@ def _post(self, messages: list[Message]) -> list[str]:
8484
self.name,
8585
response.text,
8686
)
87+
else:
88+
logger.info(
89+
"Successfully posted message to ActivityBot (%s) with response: %s",
90+
self.name,
91+
response.text,
92+
)
8793

8894
return []

0 commit comments

Comments
 (0)