mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 20:48:17 -06:00
fix: error output
This commit is contained in:
parent
aecd2d22ae
commit
c3fa59312c
@ -13,9 +13,9 @@ const collectStatic = type => {
|
|||||||
|
|
||||||
console.log('[*] collecting..');
|
console.log('[*] collecting..');
|
||||||
exec('../../venv/bin/python3 ../manage.py collectstatic --no-input', (err, stdout, stderr) => {
|
exec('../../venv/bin/python3 ../manage.py collectstatic --no-input', (err, stdout, stderr) => {
|
||||||
err && console.error(err);
|
err && console.error(`[**] Error: ${err}`);
|
||||||
stdout && console.log(`[*] ${stdout.trim()}`);
|
stdout && console.log(`[*] ${stdout.trim()}`);
|
||||||
stderr && console.log('[**] Python Err:', stderr);
|
stderr && console.log(`[**] Python Err: ${stderr.trim()}`);
|
||||||
console.log('[*] waiting..\n');
|
console.log('[*] waiting..\n');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user