From 65caa73d6ff488ba51583d69062bb8f4d9da8bb6 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 20 May 2026 23:51:38 +0200 Subject: [PATCH] Restore best-effort application hash upgrade saves --- .../Services/DefaultApplicationCredentialsValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Elsa.Identity/Services/DefaultApplicationCredentialsValidator.cs b/src/modules/Elsa.Identity/Services/DefaultApplicationCredentialsValidator.cs index f30671229..6ddfe646f 100644 --- a/src/modules/Elsa.Identity/Services/DefaultApplicationCredentialsValidator.cs +++ b/src/modules/Elsa.Identity/Services/DefaultApplicationCredentialsValidator.cs @@ -77,7 +77,7 @@ public class DefaultApplicationCredentialsValidator : IApplicationCredentialsVal application.HashedApiKeySalt = previousHashedApiKeySalt; throw; } - catch (InvalidOperationException e) + catch (Exception e) { application.HashedApiKey = previousHashedApiKey; application.HashedApiKeySalt = previousHashedApiKeySalt;