From bc6eac85a878503f8acd1a764c9656f4673fa324 Mon Sep 17 00:00:00 2001 From: Laurynas Ruskys Date: Wed, 4 Oct 2023 09:48:10 +0300 Subject: [PATCH] Set `HandlesException` back to `static` --- src/Correlate.Core/CorrelationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Correlate.Core/CorrelationManager.cs b/src/Correlate.Core/CorrelationManager.cs index 00403b7..6bffe69 100644 --- a/src/Correlate.Core/CorrelationManager.cs +++ b/src/Correlate.Core/CorrelationManager.cs @@ -229,7 +229,7 @@ private T Execute(string? correlationId, Func correlatedFunc, OnException? } } - private bool HandlesException(OnException? onException, CorrelationContext correlationContext, Exception ex, out T result) + private static bool HandlesException(OnException? onException, CorrelationContext correlationContext, Exception ex, out T result) { if (!ex.Data.Contains(CorrelateConstants.CorrelationIdKey)) {