From 9c00cb637347b01367909f1ea0a619aa0c91b1af Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 9 Feb 2024 23:25:01 -0500 Subject: [PATCH] Make secrets decode error level --- StabilityMatrix.Core/Services/SecretsManager.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/StabilityMatrix.Core/Services/SecretsManager.cs b/StabilityMatrix.Core/Services/SecretsManager.cs index 2c3c534e..1ba0077c 100644 --- a/StabilityMatrix.Core/Services/SecretsManager.cs +++ b/StabilityMatrix.Core/Services/SecretsManager.cs @@ -45,11 +45,7 @@ public class SecretsManager : ISecretsManager } catch (Exception e) { - logger.LogWarning( - e, - "Failed to load secrets ({ExcType}), saving new instance", - e.GetType().Name - ); + logger.LogError(e, "Failed to load secrets ({ExcType}), saving new instance", e.GetType().Name); var secrets = new Secrets(); await SaveAsync(secrets).ConfigureAwait(false);