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; }