High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): add log to get file name for corrupted asset (#8527)
Alexec7015be88b6
diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lockindex 5493fc2840..8ee2cdcc09 100644--- a/mobile/ios/Podfile.lock+++ b/mobile/ios/Podfile.lock@@ -17,9 +17,6 @@ PODS:- fluttertoast (0.0.2):- Flutter- Toast- - FMDB (2.7.5):- - FMDB/standard (= 2.7.5)- - FMDB/standard (2.7.5)- geolocator_apple (1.2.0):- Flutter- image_picker_ios (0.0.1):@@ -39,7 +36,7 @@ PODS:- FlutterMacOS- path_provider_ios (0.0.1):- Flutter- - permission_handler_apple (9.1.1):+ - permission_handler_apple (9.3.0):- Flutter- photo_manager (2.0.0):- Flutter@@ -53,7 +50,7 @@ PODS:- FlutterMacOS- sqflite (0.0.3):- Flutter- - FMDB (>= 2.7.5)+ - FlutterMacOS- Toast (4.0.0)- url_launcher_ios (0.0.1):- Flutter@@ -84,14 +81,13 @@ DEPENDENCIES:- photo_manager (from `.symlinks/plugins/photo_manager/ios`)- share_plus (from `.symlinks/plugins/share_plus/ios`)- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)- - sqflite (from `.symlinks/plugins/sqflite/ios`)+ - sqflite (from `.symlinks/plugins/sqflite/darwin`)- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`)- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)SPEC REPOS:trunk:- - FMDB- MapLibre- ReachabilitySwift- SAMKeychain@@ -139,7 +135,7 @@ EXTERNAL SOURCES:shared_preferences_foundation::path: ".symlinks/plugins/shared_preferences_foundation/darwin"sqflite:- :path: ".symlinks/plugins/sqflite/ios"+ :path: ".symlinks/plugins/sqflite/darwin"url_launcher_ios::path: ".symlinks/plugins/url_launcher_ios/ios"video_player_avfoundation:@@ -156,23 +152,22 @@ SPEC CHECKSUMS:flutter_udid: a2482c67a61b9c806ef59dd82ed8d007f1b7ac04flutter_web_auth: c25208760459cec375a3c39f6a8759165ca0fa4dfluttertoast: 31b00dabfa7fb7bacd9e7dbee580d7a2ff4bf265- FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82ageolocator_apple: 9157311f654584b9bb72686c55fc02a97b73f461- image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5+ image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425integration_test: 13825b8a9334a850581300559b8839134b124670isar_flutter_libs: b69f437aeab9c521821c3f376198c4371fa21073MapLibre: 620fc933c1d6029b33738c905c1490d024e5d4efmaplibre_gl: a2efec727dd340e4c65e26d2b03b584f14881fd9package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85- path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943+ path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147cpath_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02- permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6+ permission_handler_apple: 036b856153a2b1f61f21030ff725f3e6fece2b78photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825SAMKeychain: 483e1c9f32984d50ca961e26818a534283b4cd5cshare_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5- shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126- sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a+ shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695+ sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eecToast: 91b396c56ee72a5790816f40d3a94dd357abc196url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812video_player_avfoundation: 02011213dab73ae3687df27ce441fbbcc82b5579diff --git a/mobile/lib/shared/services/hash.service.dart b/mobile/lib/shared/services/hash.service.dartindex 2a0d4f2f84..dd3280ccf8 100644--- a/mobile/lib/shared/services/hash.service.dart+++ b/mobile/lib/shared/services/hash.service.dart@@ -56,8 +56,16 @@ class HashService {}final file = await assetEntities[i].originFile;if (file == null) {+ final fileName = await assetEntities[i].titleAsync.catchError((error) {+ _log.warning(+ "Failed to get title for asset ${assetEntities[i].id}",+ );++ return "";+ });+_log.warning(- "Failed to get file for asset ${assetEntities[i].id}, skipping",+ "Failed to get file for asset ${assetEntities[i].id}, name: $fileName, created on: ${assetEntities[i].createDateTime}, skipping",);continue;}