Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ckreisl committed Jun 12, 2024
1 parent f0860c8 commit d47c1e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cs2posts/bot/cs2.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ async def _post_checker_update(self, context: CallbackContext, post: Post) -> No

async def _post_checker_external(self, context: CallbackContext, post: Post) -> None:
if post is None:
logger.info(
f'No external {post=} found latest_external_post=[{self.latest_external_post.title}]')
return

if not post.is_newer_than(self.latest_external_post):
Expand Down

1 comment on commit d47c1e0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py00100% 
crawler.py300100% 
cs2.py82890%30, 37, 42, 48, 103, 116–118
post.py58493%61–63, 66
store.py982475%21, 25, 29, 33, 42, 49–50, 57–58, 62, 68–69, 76, 87–88, 90, 104, 107–110, 117, 123, 132
bot
   __init__.py00100% 
   chats.py72593%80–83, 101
   constants.py40100% 
   content.py76692%28, 49, 62, 90, 100, 106
   cs2.py2826975%37–42, 44–46, 170, 173, 175, 178–183, 185–188, 293–296, 299–300, 302–303, 305, 307, 310–311, 314–315, 317–318, 320, 322, 325–326, 329–330, 332, 334–335, 337, 339, 342–343, 353, 355–357, 359–361, 363–365, 367, 379, 411, 413–416, 422
   decorators.py330%1, 3, 5
   message.py1585763%62, 85, 96, 109, 111, 121, 123–124, 126, 128–130, 139–142, 144, 156–159, 193–194, 196, 198–199, 201–202, 204, 206–211, 213–215, 217–220, 222–227, 229–230, 232, 234, 237–238, 253–255
   options.py1052080%35, 42–44, 49–51, 53, 70, 74–75, 79, 81, 83, 86–88, 90, 165–166
   settings.py130100% 
   spam.py710100% 
   utils.py24770%17, 21–23, 31–33
parser
   __init__.py00100% 
   parser.py14192%21
   steam2telegram_html.py260100% 
   steam_list.py520100% 
   steam_news_image.py160100% 
   steam_news_youtube.py120100% 
   steam_update_heading.py210100% 
TOTAL121720483% 

Tests Skipped Failures Errors Time
121 0 💤 0 ❌ 0 🔥 3.666s ⏱️

Please sign in to comment.