Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include error tracking #22

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Include error tracking #22

merged 1 commit into from
Oct 17, 2024

Conversation

felipebaltazar
Copy link
Owner

Overview

This PR includes some ways to track errors in ServerDriven UI loading

Issues Resolved

  • none

API Changes

  • AppBuilderExtensions.InitServerDrivenUIService();
  • ServerDrivenView.OnErrorEvent

Platforms Affected

  • All

Behavioral Changes

Now ServerDrivenView have a new Property, OnErrorEvent, that allow to track errors during xaml loading
InitServerDrivenUIService will catch exceptions from IServerDrivenUIService.Fetch and log it to ILogger

Testing Procedure

PR Checklist

  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

@felipebaltazar felipebaltazar added the enhancement New feature or request label Oct 17, 2024
@felipebaltazar felipebaltazar self-assigned this Oct 17, 2024
@felipebaltazar felipebaltazar merged commit c60e4d8 into main Oct 17, 2024
4 checks passed
@felipebaltazar felipebaltazar deleted the feature/logs-error-event branch October 17, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant