Skip to content

Conversation

denscollo
Copy link
Contributor

Fixes #1218

Description

Change DialogContext to capture exceptions and resolve information about context in each Exception error.
This change is PORTED from DotNet.

Specific Changes

Add try/catch handlers to DialogContext class methods to set Exception.data["DialogContext'] with metadata about the context.

Note: The PORT does not include the state property in data, because in DotNet it gets it from the State property but in Python does not exist.

Testing

In the following images there is a sneak peek about the information structure and the passing tests.
imagen
imagen

@tracyboehrer tracyboehrer merged commit 5f58045 into microsoft:main Dec 14, 2020
@sw-joelmut sw-joelmut deleted the southworks/add/port-dialog-error-messages branch December 7, 2021 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants