1
0
Fork 0

Show error thrown when command fails

pull/2/head
Ambrose Chua 2018-03-11 09:24:41 +09:00
parent 14b56bd18e
commit 5aa31270de
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ if (shellable) {
timeout: 60 * 1000,
}, (err, stdout, stderr) => {
if (err) {
req.flash("error", "Unable to execute command " + cmd);
req.flash("error", "Unable to execute command: " + err);
}
res.render("cmd", flashify(req, {
path: res.filename,