TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
+2
-2
@@ -44,10 +44,10 @@ class RichTextMobileTabletController extends GetxController {
|
||||
maxWidth: maxWidth
|
||||
);
|
||||
} else {
|
||||
logError('RichTextMobileTabletController::insertImageData: path is null');
|
||||
logWarning('RichTextMobileTabletController::insertImageData: path is null');
|
||||
}
|
||||
} catch (e) {
|
||||
logError('RichTextMobileTabletController::insertImageData:Exception: $e');
|
||||
logWarning('RichTextMobileTabletController::insertImageData:Exception: $e');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ class RichTextWebController extends GetxController {
|
||||
'<img src="${HtmlUtils.convertBase64ToImageResourceData(base64Data: base64Data, mimeType: mimeType)}" data-filename="${platformFile.name}" alt="Image in my signature" style="max-width:${maxWidth != null ? '${maxWidth}px' : '100%'};" data-mimetype="$mimeType"/>'
|
||||
);
|
||||
} else {
|
||||
logError("RichTextWebController::insertImageAsBase64: bytes is null");
|
||||
logWarning("RichTextWebController::insertImageAsBase64: bytes is null");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user