소스 검색

Log each upload attempt

Vishnu Mohandas 4 년 전
부모
커밋
fb2600d1b1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;