mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
improve UI, i18n and layout of stop/start feature
This commit is contained in:
@@ -335,7 +335,7 @@ var api = module.exports = {
|
||||
throw (makeError(err, err.code, 500))
|
||||
}
|
||||
default:
|
||||
throw (makeError("Cannot set runtime state. Invalid state", "invalid_run_state", 400))
|
||||
throw (makeError(`Cannot change flows runtime state to '${opts.requestedState}'}`, "invalid_run_state", 400))
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user