Browse Source

Add log when file is removed

Artur Paikin 7 years ago
parent
commit
83d1b25cf9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/Core.js

+ 1 - 0
src/core/Core.js

@@ -437,6 +437,7 @@ class Uppy {
 
     this._calculateTotalProgress()
     this.emit('file-removed', removedFile)
+    this.log(`File removed: ${removedFile.id}`)
 
     // Clean up object URLs.
     if (removedFile.preview && Utils.isObjectURL(removedFile.preview)) {