Merge branch 'main' of github.com:immich-app/immich into pr/YFrendo/5066

This commit is contained in:
Alex Tran
2023-11-22 10:24:07 -06:00
18 changed files with 162 additions and 25 deletions

View File

@@ -1,6 +1,5 @@
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:immich_mobile/shared/models/asset.dart';
import 'package:immich_mobile/shared/providers/api.provider.dart';
@@ -84,8 +83,8 @@ class ImageViewerService {
}
return entity != null;
}
} catch (e) {
debugPrint("Error saving file $e");
} catch (error, stack) {
_log.severe("Error saving file ${error.toString()}", error, stack);
return false;
}
}