From afb942bc4198418844471be09037f191bf27d02c Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Thu, 23 Oct 2025 11:55:19 +0300 Subject: [PATCH] updated thumb error message --- apis/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/file.go b/apis/file.go index bbc4bb41..f0d2390b 100644 --- a/apis/file.go +++ b/apis/file.go @@ -186,7 +186,7 @@ func (api *fileApi) download(e *core.RequestEvent) error { } if thumbSize != "" && event.ThumbError == nil && event.ServedPath == originalPath { - event.ThumbError = fmt.Errorf("the thumb size %q is not supported", thumbSize) + event.ThumbError = fmt.Errorf("the thumb size %q or the original file format are not supported", thumbSize) } // clickjacking shouldn't be a concern when serving uploaded files,