From 302c84948a81a36a350bda24b906c4594deab469 Mon Sep 17 00:00:00 2001 From: Tom Ashworth Date: Mon, 9 Aug 2021 09:14:36 +0100 Subject: [PATCH] feat: log actual error when activating processes (#67) --- .../Services/ProcessDeploymentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Capgemini.PowerApps.PackageDeployerTemplate/Services/ProcessDeploymentService.cs b/src/Capgemini.PowerApps.PackageDeployerTemplate/Services/ProcessDeploymentService.cs index 4774455..735b6ff 100644 --- a/src/Capgemini.PowerApps.PackageDeployerTemplate/Services/ProcessDeploymentService.cs +++ b/src/Capgemini.PowerApps.PackageDeployerTemplate/Services/ProcessDeploymentService.cs @@ -134,7 +134,7 @@ private void SetStates(IEnumerable processes, IEnumerable proces } catch (Exception ex) { - this.logger.LogError(ex, $"Status for process {deployedProcess.Attributes[Constants.Workflow.Fields.Name]} could not be set. Please check the processes for errors e.g. missing reference data or connections."); + this.logger.LogError(ex, $"Status for process {deployedProcess.Attributes[Constants.Workflow.Fields.Name]} could not be set. {ex.Message}"); } } }