TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -499,7 +499,7 @@ class EmailDataSourceImpl extends EmailDataSource {
|
||||
|
||||
return listEmailContent.asHtmlString;
|
||||
} catch (e) {
|
||||
logError('EmailDataSourceImpl::_transformEmailContent:Exception = $e');
|
||||
logWarning('EmailDataSourceImpl::_transformEmailContent:Exception = $e');
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ class PrintFileDataSourceImpl extends PrintFileDataSource {
|
||||
|
||||
return htmlContentTransformed;
|
||||
} catch (e) {
|
||||
logError('PrintFileDataSourceImpl::_transformHtmlEmailContent: Exception: $e');
|
||||
logWarning('PrintFileDataSourceImpl::_transformHtmlEmailContent: Exception: $e');
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user