From be0ff0053a4d5ab4f18845eef6d664cb41a4a433 Mon Sep 17 00:00:00 2001 From: Fabio Dutra Date: Mon, 12 Apr 2021 11:12:47 -0500 Subject: [PATCH] fixing automation errors that do not show on the screen --- .../ViewModels/Pages/DocumentCreatorPageViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stutton.DocumentCreator/ViewModels/Pages/DocumentCreatorPageViewModel.cs b/src/Stutton.DocumentCreator/ViewModels/Pages/DocumentCreatorPageViewModel.cs index c2ef4a3..84282b8 100644 --- a/src/Stutton.DocumentCreator/ViewModels/Pages/DocumentCreatorPageViewModel.cs +++ b/src/Stutton.DocumentCreator/ViewModels/Pages/DocumentCreatorPageViewModel.cs @@ -96,7 +96,7 @@ private async Task Finish() if (!automationResponse.Success) { _telemetryService.TrackFailedResponse(automationResponse); - await DialogHost.Show(new ErrorMessageDialogViewModel(result.Message, _telemetryService.SessionId), MainWindow.RootDialog); + await DialogHost.Show(new ErrorMessageDialogViewModel(automationResponse.Message, _telemetryService.SessionId), MainWindow.RootDialog); return; }