quieten some errors
Summary: message format has changed slightly T164418118 Reviewed By: lblasa Differential Revision: D49502179 fbshipit-source-id: 205ebf5bfe444fb0ce768fa635f9de5371d82a03
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2ff91170e0
commit
eb86eb910f
@@ -62,7 +62,7 @@ export function initLogTailer() {
|
|||||||
function transformLogLevel(level: LoggerTypes, message: string) {
|
function transformLogLevel(level: LoggerTypes, message: string) {
|
||||||
if (level === 'error') {
|
if (level === 'error') {
|
||||||
// Error comes from one of our dependencies and is not actionable
|
// Error comes from one of our dependencies and is not actionable
|
||||||
if (message.includes('ResizeObserver loop limit exceeded')) {
|
if (message.includes('ResizeObserver loop')) {
|
||||||
return 'warn';
|
return 'warn';
|
||||||
}
|
}
|
||||||
// Axios will create rather unhelpful error messages which
|
// Axios will create rather unhelpful error messages which
|
||||||
|
|||||||
Reference in New Issue
Block a user