Skip to content

Commit aa2a59c

Browse files
BukeLyCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1fa02af commit aa2a59c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

agent-sdk-client/handler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def lambda_handler(event: dict, context: Any) -> dict:
285285
)
286286
if not is_ok:
287287
asyncio.run(bot.send_message(chat_id=chat_id, text=error_msg))
288+
logger.warning(
289+
"Forum requirements check failed",
290+
extra={'chat_id': chat_id, 'error_msg': error_msg},
291+
)
288292
_send_metric('TopicPrecheck.Failed')
289293
return {'statusCode': 200}
290294

0 commit comments

Comments
 (0)