TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -143,7 +143,7 @@ class ToastManager {
|
||||
final context = currentContext;
|
||||
final overlayContext = currentOverlayContext;
|
||||
if (context == null || overlayContext == null) {
|
||||
logError('ToastManager::showMessageFailure: Context or OverlayContext is null');
|
||||
logWarning('ToastManager::showMessageFailure: Context or OverlayContext is null');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ class ToastManager {
|
||||
final context = currentContext;
|
||||
final overlayContext = currentOverlayContext;
|
||||
if (context == null || overlayContext == null) {
|
||||
logError('ToastManager::showMessageSuccess: Context or OverlayContext is null');
|
||||
logWarning('ToastManager::showMessageSuccess: Context or OverlayContext is null');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ class ToastManager {
|
||||
final context = currentContext;
|
||||
final overlayContext = currentOverlayContext;
|
||||
if (context == null || overlayContext == null) {
|
||||
logError('$runtimeType::showMessageSuccessWithAction: Context or OverlayContext is null');
|
||||
logWarning('$runtimeType::showMessageSuccessWithAction: Context or OverlayContext is null');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user