瀏覽代碼

add catch and error logging

Artur Paikin 4 年之前
父節點
當前提交
948a17d86f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/@uppy/transloadit/src/Assembly.js

+ 1 - 0
packages/@uppy/transloadit/src/Assembly.js

@@ -164,6 +164,7 @@ class TransloaditAssembly extends Emitter {
           this.status = status
         }
       })
+      .catch((err) => this._onError(err))
   }
 
   update () {