From ed79a46af3f546856fc4586b5efd44182f1445cb Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 07:51:04 +0100 Subject: [PATCH] update format for messages in logging --- .../java/cc/fascinated/bat/features/logging/LogFeature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java b/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java index ae208aa..a533964 100644 --- a/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java +++ b/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java @@ -60,7 +60,7 @@ public class LogFeature extends Feature { return "No content"; } if (content.length() > 512) { - return "Content too long, [click here to view]("+PasteUtils.uploadPaste(content)+")"; + return "Content too long, [click here to view]("+PasteUtils.uploadPaste(content).getUrl()+")"; } if (content.length() <= 32) { return "`%s`".formatted(content);