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);