From 7ec2fe877c49de8dfb08f07babe81349b57056b0 Mon Sep 17 00:00:00 2001 From: Vankka Date: Sat, 22 Jun 2024 11:56:24 +0300 Subject: [PATCH] Catch more exceptions in getting configs for DebugReports --- .../src/main/java/com/discordsrv/common/debug/DebugReport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/discordsrv/common/debug/DebugReport.java b/common/src/main/java/com/discordsrv/common/debug/DebugReport.java index 7e061db1..cf1525b5 100644 --- a/common/src/main/java/com/discordsrv/common/debug/DebugReport.java +++ b/common/src/main/java/com/discordsrv/common/debug/DebugReport.java @@ -217,7 +217,7 @@ public class DebugReport { manager.save(loader); return new TextDebugFile(order, fileName, writer.toString()); - } catch (IOException | ConfigException e) { + } catch (Exception e) { return exception(order, fileName, e); } }