From b97d8f405f964b7f15e4f3a43a69ce7aaefc65eb Mon Sep 17 00:00:00 2001 From: dkirchan Date: Wed, 27 Mar 2024 15:29:23 +0200 Subject: [PATCH] Reverted change for logging --- .../scripts/run_cypress/parallel_serverless.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/scripts/run_cypress/parallel_serverless.ts b/x-pack/plugins/security_solution/scripts/run_cypress/parallel_serverless.ts index f4173300cff8b..ece544ed836d9 100644 --- a/x-pack/plugins/security_solution/scripts/run_cypress/parallel_serverless.ts +++ b/x-pack/plugins/security_solution/scripts/run_cypress/parallel_serverless.ts @@ -140,7 +140,7 @@ async function createSecurityProject( }; } catch (error) { if (error instanceof AxiosError) { - console.log(`${error.response?.status}:${JSON.stringify(error.response?.data)}`); + log.error(`${error.response?.status}:${error.response?.data}`); } else { log.error(`${error.message}`); }