update format for messages in logging

This commit is contained in:
Lee 2024-07-04 07:51:04 +01:00
parent ee138cb5a9
commit ed79a46af3

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