Skip to content

Commit 80d4e1b

Browse files
committed
added some more logs for debugging
1 parent 3bcf785 commit 80d4e1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/testObservability/helper/helper.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ exports.setCrashReportingConfigFromReporter = (credentialsStr, bsConfigPath, cyp
333333
console.log(`Setting Crash Reporting Config with bsConfig: ${JSON.stringify(bsConfig)}`);
334334
try {
335335
const browserstackConfigFile = utils.readBsConfigJSON(bsConfigPath);
336+
336337
const cypressConfigFile = getCypressConfigFileContent(null, cypressConfigPath);
337338

338339
if(!credentialsStr) {
@@ -349,7 +350,10 @@ exports.setCrashReportingConfigFromReporter = (credentialsStr, bsConfigPath, cyp
349350

350351
const setCrashReportingConfig = (bsConfig, bsConfigPath) => {
351352
try {
353+
console.log(`Setting Crash Reporting Config with bsConfigPath: ${bsConfigPath}`);
352354
const browserstackConfigFile = utils.readBsConfigJSON(bsConfigPath);
355+
console.log(`checking the type of bsConfig: ${typeof bsConfig}`);
356+
353357
const cypressConfigFile = getCypressConfigFileContent(bsConfig, null);
354358
const credentialsStr = JSON.stringify({
355359
username: bsConfig["auth"]["username"],

0 commit comments

Comments
 (0)