From 8f8f6e996546218d44845c512405beb04d308e63 Mon Sep 17 00:00:00 2001 From: akrupskiy Date: Thu, 11 Feb 2021 11:32:44 +0200 Subject: [PATCH] fix issue --- .../Core/Pipelines/HttpRequestBegin/OnHttpRequestBegin.cs | 2 ++ src/Sitecore.Support.461807/Sitecore.Support.461807.csproj | 4 ++++ src/Sitecore.Support.461807/packages.config | 1 + 3 files changed, 7 insertions(+) diff --git a/src/Sitecore.Support.461807/Modules/EmailCampaign/Core/Pipelines/HttpRequestBegin/OnHttpRequestBegin.cs b/src/Sitecore.Support.461807/Modules/EmailCampaign/Core/Pipelines/HttpRequestBegin/OnHttpRequestBegin.cs index 6acd6ff..63161a5 100644 --- a/src/Sitecore.Support.461807/Modules/EmailCampaign/Core/Pipelines/HttpRequestBegin/OnHttpRequestBegin.cs +++ b/src/Sitecore.Support.461807/Modules/EmailCampaign/Core/Pipelines/HttpRequestBegin/OnHttpRequestBegin.cs @@ -60,6 +60,8 @@ static OnHttpRequestBegin() catch (Exception ex) { _logger.LogError(ex); + if (ex is Sitecore.XConnect.XdbCollectionUnavailableException && ExmContext.IsRenderRequest) + throw; } } } diff --git a/src/Sitecore.Support.461807/Sitecore.Support.461807.csproj b/src/Sitecore.Support.461807/Sitecore.Support.461807.csproj index c443f56..f43e623 100644 --- a/src/Sitecore.Support.461807/Sitecore.Support.461807.csproj +++ b/src/Sitecore.Support.461807/Sitecore.Support.461807.csproj @@ -58,6 +58,10 @@ ..\packages\SC.Sitecore.Kernel.9.0.2\lib\Sitecore.Kernel.dll False + + ..\packages\SC.Sitecore.XConnect.9.0.2\lib\Sitecore.XConnect.dll + False + diff --git a/src/Sitecore.Support.461807/packages.config b/src/Sitecore.Support.461807/packages.config index 4513ebe..71b29c6 100644 --- a/src/Sitecore.Support.461807/packages.config +++ b/src/Sitecore.Support.461807/packages.config @@ -4,4 +4,5 @@ + \ No newline at end of file