Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Improve log

Neeraj Gupta73007ee541c6
diff --git a/mobile/lib/services/entity_service.dart b/mobile/lib/services/entity_service.dart
index 6319f9e8ec..ba4b4a6368 100644
--- a/mobile/lib/services/entity_service.dart
+++ b/mobile/lib/services/entity_service.dart
@@ -67,7 +67,10 @@ class EntityService {
final String encryptedData =
CryptoUtil.bin2base64(encryptedKeyData.encryptedData!);
final String header = CryptoUtil.bin2base64(encryptedKeyData.header!);
- debugPrint("Adding entity of type: " + type.typeToString());
+ debugPrint(
+ " ${id == null ? 'Adding' : 'Updating'} entity of type: " +
+ type.typeToString(),
+ );
final EntityData data = id == null
? await _gateway.createEntity(type, encryptedData, header)
: await _gateway.updateEntity(type, id, encryptedData, header);