mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove handling for unused error code
This commit is contained in:
parent
fe91295704
commit
fde8548166
2
packages/node_modules/node-red/red.js
vendored
2
packages/node_modules/node-red/red.js
vendored
@ -199,8 +199,6 @@ try {
|
|||||||
if (err.code == "unsupported_version") {
|
if (err.code == "unsupported_version") {
|
||||||
console.log("Unsupported version of Node.js:",process.version);
|
console.log("Unsupported version of Node.js:",process.version);
|
||||||
console.log("Node-RED requires Node.js v8.9.0 or later");
|
console.log("Node-RED requires Node.js v8.9.0 or later");
|
||||||
} else if (err.code == "not_built") {
|
|
||||||
console.log("Node-RED has not been built. See README.md for details");
|
|
||||||
} else {
|
} else {
|
||||||
console.log("Failed to start server:");
|
console.log("Failed to start server:");
|
||||||
if (err.stack) {
|
if (err.stack) {
|
||||||
|
Loading…
Reference in New Issue
Block a user