Skip to content

Conversation

@heyitsaamir
Copy link
Collaborator

@heyitsaamir heyitsaamir commented Oct 9, 2025

  • Whenever deserlization errors happen, we want to exact data on what's going on. This helps us with that.
  • We were serializing msTeams incorrectly. It should be msteams
  • For task/fetch, the data actually goes in the data itself, not in msteams data bag.
image

Copilot AI review requested due to automatic review settings October 9, 2025 00:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves debugging capabilities by adding detailed logging when deserialization of activity data fails in the Teams app framework. The primary goal is to capture exact error information to help diagnose serialization issues that may occur during activity processing.

Key Changes

  • Added logging of validation errors when Activity deserialization fails
  • Imported ValidationError from pydantic to enable proper error handling

@heyitsaamir heyitsaamir changed the title Add better logging when desrialization failures happen Add better logging when deserialization failures happen Oct 9, 2025
@heyitsaamir heyitsaamir changed the title Add better logging when deserialization failures happen Fix task/fetch + Add better logging when deserialization failures happen Oct 9, 2025
@heyitsaamir heyitsaamir changed the title Fix task/fetch + Add better logging when deserialization failures happen Fix task/fetch, msTeams -> msteams, Add better logging when deserialization failures happen Oct 9, 2025
@heyitsaamir heyitsaamir merged commit 3321ac4 into main Oct 9, 2025
7 of 8 checks passed
@heyitsaamir heyitsaamir deleted the aamirj/addbetterdeserializationlogging branch October 9, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants