Print error when failing to build sandbox (#7149)
This commit is contained in:
parent
366483853e
commit
327c5f889d
1 changed files with 3 additions and 2 deletions
|
|
@ -59,9 +59,10 @@ try {
|
||||||
sandboxCommand = execSync('node scripts/sandbox_command.js')
|
sandboxCommand = execSync('node scripts/sandbox_command.js')
|
||||||
.toString()
|
.toString()
|
||||||
.trim();
|
.trim();
|
||||||
} catch {
|
} catch (e) {
|
||||||
console.warn('ERROR: could not detect sandbox container command');
|
console.warn('ERROR: could not detect sandbox container command');
|
||||||
process.exit(0);
|
console.error(e);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sandboxCommand === 'sandbox-exec') {
|
if (sandboxCommand === 'sandbox-exec') {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue