Artur Paikin 3 роки тому
батько
коміт
3b42d0ce8d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      packages/@uppy/core/src/index.js

+ 1 - 1
packages/@uppy/core/src/index.js

@@ -565,7 +565,7 @@ class Uppy {
         if (!hasOwnProperty.call(file.meta, requiredMetaFields[i])) {
           const err = new RestrictionError(`${this.i18n('missingRequiredMetaFieldOnFile', { fileName: file.name })}`)
           errors.push(err)
-          this.showOrLogErrorAndThrow(err, { file, throwErr: false })
+          this.#showOrLogErrorAndThrow(err, { file, throwErr: false })
         }
       }
     }