Skip to content

Commit 802bc5a

Browse files
DeviceInfracopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 848486989
1 parent 1b2eeae commit 802bc5a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/devtools/mobileharness/fe/v6/angular/karma.conf.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@
55
// This tells Karma to use the Chrome browser downloaded by Puppeteer
66
process.env.CHROME_BIN = require('puppeteer').executablePath();
77

8+
console.info('tiantc: process.env.CHROME_BIN: ', process.env.CHROME_BIN);
9+
// process.on('uncaughtException', (err) => {
10+
// if (err.code === 'ERR_SERVER_NOT_RUNNING') {
11+
// console.error('Caught ERR_SERVER_NOT_RUNNING. Ignoring to prevent pipeline break.', err);
12+
// console.error(err);
13+
// // Ideally, log this and trigger a non-zero exit code later if possible
14+
// // without immediately crashing.
15+
// // process.exit(1); // Consider exiting after logging, rather than continuing
16+
// } else {
17+
// console.error('Caught unhandled exception:', err);
18+
// // For other uncaught exceptions, it's safer to exit.
19+
// process.exit(1);
20+
// }
21+
// });
22+
823
/**
924
* Karma configuration.
1025
* @param {!Object} config

src/devtools/mobileharness/fe/v6/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "labconsole-fe",
3-
"version": "0.1.0",
3+
"version": "0.1.8",
44
"license": "Apache-2.0",
55
"scripts": {
66
"ng": "ng",

0 commit comments

Comments
 (0)