From 78da5becaf1e705d0a4ae3fe84596f95d9202045 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Sat, 11 May 2024 00:20:00 -0400 Subject: [PATCH] [healthcheck] Remove console.error ghstack-source-id: c06d44960cfb831e3dc8162858977c4ef619309d Pull Request resolved: https://github.com/facebook/react-forget/pull/2958 --- .../react-compiler-healthcheck/src/checks/reactCompiler.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/packages/react-compiler-healthcheck/src/checks/reactCompiler.ts b/compiler/packages/react-compiler-healthcheck/src/checks/reactCompiler.ts index 3c4ed28094..1dc210bef8 100644 --- a/compiler/packages/react-compiler-healthcheck/src/checks/reactCompiler.ts +++ b/compiler/packages/react-compiler-healthcheck/src/checks/reactCompiler.ts @@ -99,9 +99,7 @@ function compile(sourceCode: string, filename: string) { "typescript", COMPILER_OPTIONS ); - } catch (e) { - console.error(e); - } + } catch {} } const JsFileExtensionRE = /(js|ts|jsx|tsx|mjs)$/;