[MM-31573] update log levels for the app package (#16629)
* update log levels for the app package * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f67fe45dd1
Коммит
83d31ec907
@@ -762,7 +762,7 @@ func (t *UploadFileTask) preprocessImage() *model.AppError {
|
||||
if t.fileinfo.MimeType == "image/svg+xml" {
|
||||
svgInfo, err := parseSVG(t.teeInput)
|
||||
if err != nil {
|
||||
mlog.Error("Failed to parse SVG", mlog.Err(err))
|
||||
mlog.Warn("Failed to parse SVG", mlog.Err(err))
|
||||
}
|
||||
if svgInfo.Width > 0 && svgInfo.Height > 0 {
|
||||
t.fileinfo.Width = svgInfo.Width
|
||||
|
||||
Ссылка в новой задаче
Block a user