Fix [object Object] in error outputs when leaving numerical ingredient blank
This commit is contained in:
parent
1bc88728f0
commit
627b559fe3
@ -56,7 +56,7 @@ class Chef {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
log.error(err);
|
log.error(err);
|
||||||
error = {
|
error = {
|
||||||
displayStr: err.displayStr,
|
displayStr: err.displayStr || err.toString(),
|
||||||
};
|
};
|
||||||
progress = err.progress;
|
progress = err.progress;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user