Browse Source

Log each upload attempt

Vishnu Mohandas 4 years ago
parent
commit
fb2600d1b1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/utils/file_uploader.dart

+ 1 - 0
lib/utils/file_uploader.dart

@@ -177,6 +177,7 @@ class FileUploader {
 
     try {
       // Placing this in the try-catch block to safe guard against: https://github.com/CaiJingLong/flutter_photo_manager/issues/405
+      _logger.info("Trying to upload " + file.toString());
       sourceFile = (await (await file.getAsset()).originFile);
       var key;
       var isAlreadyUploadedFile = file.uploadedFileID != null;