Skip to content

Commit a608608

Browse files
Remove o11y crashreporter
1 parent 3367c62 commit a608608

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bin/helpers/helper.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ const { spawn, execSync } = require('child_process');
1616
const glob = require('glob');
1717
const pGitconfig = promisify(gitconfig);
1818
const { readCypressConfigFile } = require('./readCypressConfigUtil');
19-
const CrashReporter = require('../testObservability/crashReporter');
2019
const { MAX_GIT_META_DATA_SIZE_IN_BYTES, GIT_META_DATA_TRUNCATED } = require('./constants')
2120

2221
exports.debug = (text, shouldReport = false, throwable = null) => {
2322
if (process.env.BROWSERSTACK_OBSERVABILITY_DEBUG === "true" || process.env.BROWSERSTACK_OBSERVABILITY_DEBUG === "1") {
2423
logger.info(`[ OBSERVABILITY ] ${text}`);
2524
}
26-
if(shouldReport) {
27-
CrashReporter.getInstance().uploadCrashReport(text, throwable ? throwable && throwable.stack : null);
28-
}
2925
}
3026

3127
exports.getFileSeparatorData = () => {

0 commit comments

Comments
 (0)