TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ class DownloadAllAttachmentsForWebInteractor {
|
||||
|
||||
yield Right(DownloadAllAttachmentsForWebSuccess(taskId: taskId));
|
||||
} catch (e) {
|
||||
logError('DownloadAllAttachmentsForWebInteractor::execute():EXCEPTION: $e');
|
||||
logWarning('DownloadAllAttachmentsForWebInteractor::execute():EXCEPTION: $e');
|
||||
yield Left(DownloadAllAttachmentsForWebFailure(
|
||||
exception: e,
|
||||
taskId: taskId,
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ class DownloadAndGetHtmlContentFromAttachmentInteractor {
|
||||
));
|
||||
}
|
||||
} catch (e) {
|
||||
logError('GetHtmlContentFromAttachmentInteractor:exception: $e');
|
||||
logWarning('GetHtmlContentFromAttachmentInteractor:exception: $e');
|
||||
yield Left(DownloadAndGetHtmlContentFromAttachmentFailure(
|
||||
exception: e,
|
||||
blobId: attachment.blobId,
|
||||
|
||||
@@ -61,7 +61,7 @@ class ExportAllAttachmentsInteractor {
|
||||
|
||||
yield Right(ExportAllAttachmentsSuccess(result));
|
||||
} catch (e) {
|
||||
logError('ExportAllAttachmentsInteractor::execute():EXCEPTION: $e');
|
||||
logWarning('ExportAllAttachmentsInteractor::execute():EXCEPTION: $e');
|
||||
yield Left(ExportAllAttachmentsFailure(exception: e));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user