From ba908588c100d36bb2cc4568408bb04b0ded0236 Mon Sep 17 00:00:00 2001 From: Storm2103 Date: Mon, 24 Jul 2023 21:39:10 -0600 Subject: [PATCH] catch-ing this bug (i could not resist) --- CalamityMod.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CalamityMod.cs b/CalamityMod.cs index 4b835cadd9..50d5cbcda9 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -531,7 +531,7 @@ namespace CalamityMod saveMethodInfo.Invoke(null, new object[] { cfg }); else Instance.Logger.Error("TML ConfigManager.Save reflection failed. Method signature has changed. Notify Calamity Devs if you see this in your log."); - } catch (_) + } catch { Instance.Logger.Error("An error occurred while manually saving Calamity mod configuration. This may be due to a complex mod conflict. It is safe to ignore this error."); }