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,