TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -63,7 +63,7 @@ class _PrintDraftDialogViewState extends State<PrintDraftDialogView> {
|
||||
}
|
||||
|
||||
void _handleErrorStream(Object error, StackTrace stackTrace) {
|
||||
logError('_PrintDraftDialogViewState::_handleErrorStream: Exception = $error');
|
||||
logWarning('_PrintDraftDialogViewState::_handleErrorStream: Exception = $error');
|
||||
popBack(result: PrintEmailFailure(exception: error));
|
||||
}
|
||||
|
||||
|
||||
@@ -318,13 +318,13 @@ class _WebEditorState extends State<WebEditorWidget> with TextSelectionMixin {
|
||||
_signatureTooltipReady = true;
|
||||
_signatureTooltipEntry?.markNeedsBuild();
|
||||
} catch (e) {
|
||||
logError(
|
||||
logWarning(
|
||||
'_WebEditorState::_showTooltipAtPosition:addPostFrameCallback:Exception = $e',
|
||||
);
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
logError('_WebEditorState::_showTooltipAtPosition:Exception = $e');
|
||||
logWarning('_WebEditorState::_showTooltipAtPosition:Exception = $e');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user