@@ -53,7 +53,9 @@ module.exports = class Form extends Plugin {
handleFormSubmit (ev) {
if (this.opts.triggerUploadOnSubmit) {
ev.preventDefault()
- this.uppy.upload()
+ this.uppy.upload().catch((err) => {
+ this.uppy.log(err.stack || err.message || err)
+ })
}
@@ -94,7 +94,8 @@ module.exports = class StatusBar extends Plugin {
startUpload () {
- return this.uppy.upload().catch(() => {
+ return this.uppy.upload().catch((err) => {
// Ignore
})