Print error when failing to build sandbox (#7149)

This commit is contained in:
cornmander 2025-08-26 17:58:33 -04:00 committed by GitHub
parent 366483853e
commit 327c5f889d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,9 +59,10 @@ try {
sandboxCommand = execSync('node scripts/sandbox_command.js')
.toString()
.trim();
} catch {
} catch (e) {
console.warn('ERROR: could not detect sandbox container command');
process.exit(0);
console.error(e);
process.exit(1);
}
if (sandboxCommand === 'sandbox-exec') {