TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -294,7 +294,7 @@ class EmailPreviewerController extends ReloadableController {
|
||||
),
|
||||
));
|
||||
} catch (e) {
|
||||
logError('EmailPreviewerController::_handleParseEmailByBlobIdSuccess(): $e');
|
||||
logWarning('EmailPreviewerController::_handleParseEmailByBlobIdSuccess(): $e');
|
||||
consumeState(Stream.value(Left(PreviewEmailFromEmlFileFailure(e))));
|
||||
}
|
||||
}
|
||||
@@ -336,7 +336,7 @@ class EmailPreviewerController extends ReloadableController {
|
||||
onReceiveController: _downloadAttachmentStreamController!)
|
||||
.listen(_handleDownloadAttachmentViewState);
|
||||
} catch (e) {
|
||||
logError('EmailPreviewerController::_handleParseEmailByBlobIdSuccess(): $e');
|
||||
logWarning('EmailPreviewerController::_handleParseEmailByBlobIdSuccess(): $e');
|
||||
consumeState(Stream.value(Left(DownloadAttachmentForWebFailure(
|
||||
attachment: attachment,
|
||||
taskId: attachment.downloadTaskId,
|
||||
|
||||
Reference in New Issue
Block a user