TF-4136 Replace logError to logWarning for some place

This commit is contained in:
dab246
2026-01-09 20:15:39 +07:00
committed by Dat H. Pham
parent fedb8fed93
commit 1514136f39
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ mixin AiScribeMixin {
AIScribeBindings(aiCapability!.scribeEndpoint!).dependencies();
}
} catch (e) {
logError('AiScribeMixin::injectAIScribeBindings(): $e');
logWarning('AiScribeMixin::injectAIScribeBindings(): $e');
}
}
}
@@ -31,7 +31,7 @@ extension HandleAiScribeInComposerExtension on ComposerController {
);
return textContent;
} catch (e) {
logError('$runtimeType::getTextOnlyContentInEditor:Exception = $e');
logWarning('$runtimeType::getTextOnlyContentInEditor:Exception = $e');
return '';
}
}
@@ -51,7 +51,7 @@ extension HandleAiScribeInComposerExtension on ComposerController {
richTextMobileTabletController?.htmlEditorApi?.insertHtml(htmlContent);
}
} catch (e) {
logError('$runtimeType::insertTextInEditor:Exception = $e');
logWarning('$runtimeType::insertTextInEditor:Exception = $e');
}
}
@@ -69,7 +69,7 @@ extension HandleAiScribeInComposerExtension on ComposerController {
);
}
} catch (e) {
logError('$runtimeType::collapseSelection:Exception = $e');
logWarning('$runtimeType::collapseSelection:Exception = $e');
}
}
@@ -81,7 +81,7 @@ extension HandleAiScribeInComposerExtension on ComposerController {
richTextMobileTabletController?.htmlEditorApi?.setText('');
}
} catch (e) {
logError('$runtimeType::clearTextInEditor:Exception = $e');
logWarning('$runtimeType::clearTextInEditor:Exception = $e');
}
}
@@ -92,7 +92,7 @@ class _MobileEditorState extends State<MobileEditorWidget> with TextSelectionMix
try {
await _setupSelectionListener(editorApi);
} catch (e) {
logError('Error onWebViewCreated: $e');
logWarning('Error onWebViewCreated: $e');
}
}
@@ -123,7 +123,7 @@ class _WebEditorState extends State<WebEditorWidget> with TextSelectionMixin {
}
}
} catch (e) {
logError(
logWarning(
'_WebEditorState::_editorListener: Unable to parse message data = $e',
);
}
@@ -195,7 +195,7 @@ extension SessionExtensions on Session {
log('SessionExtensions::getAICapability:aiCapability = $aiCapability');
return aiCapability;
} catch (e) {
logError('SessionExtensions::getAICapability():[Exception] $e');
logWarning('SessionExtensions::getAICapability():[Exception] $e');
return null;
}
}