Don't throw errors for Watchman not found

Summary: Changelog: Don't throw an error if Watchman was not found

Reviewed By: aigoncharov

Differential Revision: D48778121

fbshipit-source-id: bfe3599e41d8c6fbe4ea89393ace5213914a2611
This commit is contained in:
Pascal Hartig
2023-08-29 09:49:56 -07:00
committed by Facebook GitHub Bot
parent 554d2f9b83
commit c91652d5de

View File

@@ -70,6 +70,10 @@ function transformLogLevel(level: LoggerTypes, message: string) {
if (message.endsWith('Network Error')) { if (message.endsWith('Network Error')) {
return 'warn'; return 'warn';
} }
if (message.includes('Watchman was not found in PATH')) {
return 'warn';
}
} }
return level; return level;