From 5b14d579b4c12643bac747d3900be031f49900ab Mon Sep 17 00:00:00 2001 From: Igor Unanua Date: Fri, 29 Nov 2024 16:14:09 +0100 Subject: [PATCH] Missing cypress plugin messages --- packages/datadog-plugin-cypress/src/cypress-plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/datadog-plugin-cypress/src/cypress-plugin.js b/packages/datadog-plugin-cypress/src/cypress-plugin.js index 0a7d0debe4..2ed62070fd 100644 --- a/packages/datadog-plugin-cypress/src/cypress-plugin.js +++ b/packages/datadog-plugin-cypress/src/cypress-plugin.js @@ -223,7 +223,7 @@ class CypressPlugin { this.libraryConfigurationPromise = getLibraryConfiguration(this.tracer, this.testConfiguration) .then((libraryConfigurationResponse) => { if (libraryConfigurationResponse.err) { - log.error(libraryConfigurationResponse.err) + log.error('Cypress plugin library config response error', libraryConfigurationResponse.err) } else { const { libraryConfig: { @@ -360,7 +360,7 @@ class CypressPlugin { this.testConfiguration ) if (knownTestsResponse.err) { - log.error(knownTestsResponse.err) + log.error('Cypress known tests response error', knownTestsResponse.err) this.isEarlyFlakeDetectionEnabled = false } else { // We use TEST_FRAMEWORK_NAME for the name of the module @@ -374,7 +374,7 @@ class CypressPlugin { this.testConfiguration ) if (skippableTestsResponse.err) { - log.error(skippableTestsResponse.err) + log.error('Cypress skippable tests response error', skippableTestsResponse.err) } else { const { skippableTests, correlationId } = skippableTestsResponse this.testsToSkip = skippableTests || []