From d4ba9eb71578fd65e2a4543014a665a96c4d8f1b Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Thu, 3 Oct 2024 12:42:54 -0700 Subject: [PATCH] Fail the workflow if sending performance data to the dashboard fails. --- tests/performance/log-results.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/performance/log-results.js b/tests/performance/log-results.js index bf62721c1bfd8..581c0d39868b5 100644 --- a/tests/performance/log-results.js +++ b/tests/performance/log-results.js @@ -108,6 +108,7 @@ const req = https.request( options, ( res ) => { req.on( 'error', ( error ) => { console.error( error ); + process.exit( 1 ); } ); req.write( data );