TF-4136 refactor(logging): replace logError with logWarning for non-critical cases

This commit is contained in:
dab246
2026-01-02 12:18:38 +07:00
committed by Dat H. Pham
parent 73dcb6067c
commit a23d15a9ca
160 changed files with 382 additions and 360 deletions
@@ -40,7 +40,7 @@ class LocalNotificationManager {
await _createAndroidNotificationChannel(groupId);
}
} catch (e) {
logError('LocalNotificationManager::setUp(): ERROR: ${e.toString()}');
logWarning('LocalNotificationManager::setUp(): ERROR: ${e.toString()}');
}
}
@@ -49,7 +49,7 @@ class LocalNotificationManager {
_notificationAppLaunchDetails = await _localNotificationsPlugin.getNotificationAppLaunchDetails();
return _notificationAppLaunchDetails?.notificationResponse;
} catch (e) {
logError('LocalNotificationManager::getCurrentNotificationResponse(): ERROR: ${e.toString()}');
logWarning('LocalNotificationManager::getCurrentNotificationResponse(): ERROR: ${e.toString()}');
}
return null;
}