Commit 2b311e68 by Oleksandr Barabash

logs added

parent 5f9b368e
......@@ -253,7 +253,7 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
mx = self.get_mx(turn_context)
if mx.type == MXTypes.ACKNOWLEDGE:
log.info("submit action is mx type")
log.info('submit action is "ACK" mx type')
try:
account = turn_context.activity.from_property
ack_objects = await self.cosmos_client.get_acknowledge_items(
......@@ -278,6 +278,7 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
await turn_context.update_activity(message)
except ItemNotFound:
# DO NOTHING, Notification not found!
log.error(f"Notification '{mx.notification_id}' not found!")
pass
return
log.info("unsupported submit type")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment