From f965c1b2859b346b9ddddc1b401c1e971c0bf187 Mon Sep 17 00:00:00 2001 From: Tom Ashworth Date: Tue, 10 Aug 2021 17:53:30 +0100 Subject: [PATCH] fix: log error before falling back to deployment user (#71) --- .../Adapters/CrmServiceAdapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Capgemini.PowerApps.PackageDeployerTemplate/Adapters/CrmServiceAdapter.cs b/src/Capgemini.PowerApps.PackageDeployerTemplate/Adapters/CrmServiceAdapter.cs index ce1688f..f21e8a9 100644 --- a/src/Capgemini.PowerApps.PackageDeployerTemplate/Adapters/CrmServiceAdapter.cs +++ b/src/Capgemini.PowerApps.PackageDeployerTemplate/Adapters/CrmServiceAdapter.cs @@ -250,7 +250,7 @@ public TResponse Execute(OrganizationRequest request, string username } else { - this.logger.LogWarning(ex, $"Failed to execute {request.RequestName} as {username}."); + this.logger.LogWarning(ex, $"Failed to execute {request.RequestName} as {username}. {ex.Message}"); } if (!fallbackToExistingUser)