From 5087e4b327732ba826bf6c839c06dcca1f8314f7 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 19 Nov 2020 09:30:46 -0500 Subject: [PATCH] Improve "attachments exceed max size" error message --- plugins/base/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/base/routes.go b/plugins/base/routes.go index 3f379dd..8698a3a 100644 --- a/plugins/base/routes.go +++ b/plugins/base/routes.go @@ -695,7 +695,7 @@ func handleComposeAttachment(ctx *alps.Context) error { if err == alps.ErrAttachmentCacheSize { form.RemoveAll() return ctx.JSON(http.StatusBadRequest, map[string]string{ - "error": "The total size of unset attachments on your session exceeds the maximum file size. Remove some attachments and try again.", + "error": "Your attachments exceed the maximum file size. Remove some and try again.", }) } else if err != nil { form.RemoveAll()