From 5a5ece7f09d024bdacbb748717aa9a847ff7fb17 Mon Sep 17 00:00:00 2001 From: Anastasia Chrysanthemum Date: Fri, 27 Feb 2026 06:55:34 +1100 Subject: [PATCH] fix: Make the inability to load comments whilst saving have a more appropriate warning. --- .../lgbt/greenhouse/config/impl/GreenhouseConfigImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xplat/src/main/java/lgbt/greenhouse/config/impl/GreenhouseConfigImpl.java b/xplat/src/main/java/lgbt/greenhouse/config/impl/GreenhouseConfigImpl.java index 31d9859..27fcf1d 100644 --- a/xplat/src/main/java/lgbt/greenhouse/config/impl/GreenhouseConfigImpl.java +++ b/xplat/src/main/java/lgbt/greenhouse/config/impl/GreenhouseConfigImpl.java @@ -176,8 +176,8 @@ public class GreenhouseConfigImpl { if (file.exists()) { try (FileReader reader = new FileReader(file)) { read = executor.read(reader); - } catch (IOException e) { - CONFIG_SAVE_LOG.error("Could not save config '{}'", holder.getModId(), e); + } catch (Exception e) { + CONFIG_SAVE_LOG.warn("Failed to load comments whilst saving config '{}'", holder.getModId(), e); } } -- 2.51.2