TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -671,7 +671,7 @@ class HtmlUtils {
|
||||
|
||||
return true;
|
||||
} catch (e) {
|
||||
logError('AppUtils::openNewWindowByUrl:Exception = $e');
|
||||
logWarning('AppUtils::openNewWindowByUrl:Exception = $e');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -683,7 +683,7 @@ class HtmlUtils {
|
||||
titleElements.first.text = title;
|
||||
}
|
||||
} catch (e) {
|
||||
logError('AppUtils::setWindowBrowserTitle:Exception = $e');
|
||||
logWarning('AppUtils::setWindowBrowserTitle:Exception = $e');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -691,7 +691,7 @@ class HtmlUtils {
|
||||
try {
|
||||
return htmlUnescape.convert(input);
|
||||
} catch (e) {
|
||||
logError('HtmlUtils::unescapeHtml:Exception = $e');
|
||||
logWarning('HtmlUtils::unescapeHtml:Exception = $e');
|
||||
return input;
|
||||
}
|
||||
}
|
||||
@@ -718,7 +718,7 @@ class HtmlUtils {
|
||||
log('HtmlUtils::isOldSafari:Version = $version');
|
||||
return version != null && version < 17;
|
||||
} catch (e) {
|
||||
logError('HtmlUtils::isOldSafari:Exception = $e');
|
||||
logWarning('HtmlUtils::isOldSafari:Exception = $e');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -893,7 +893,7 @@ class HtmlUtils {
|
||||
|
||||
return container.innerHtml;
|
||||
} catch (e) {
|
||||
logError('HtmlUtils::wrapPlainTextLinks:Exception = $e');
|
||||
logWarning('HtmlUtils::wrapPlainTextLinks:Exception = $e');
|
||||
return htmlString;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user