mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fixes #10
This commit is contained in:
parent
b8f82fd9ae
commit
3255ae4187
@ -74,13 +74,13 @@
|
||||
if (err.status == 404) {
|
||||
RED.notify("<strong>Error</strong>: inject node not deployed","error");
|
||||
} else {
|
||||
RED.notify("<strong>Error</strong>: "+err.response,"error");
|
||||
RED.notify("<strong>Error</strong>: no response from server","error");
|
||||
}
|
||||
} else if (resp.status == 200) {
|
||||
RED.notify("Successfully injected: "+label,"success");
|
||||
} else {
|
||||
if (resp) {
|
||||
RED.notify("<strong>Error</strong>: "+resp,"error");
|
||||
RED.notify("<strong>Error</strong>: unexpected response:"+resp,"error");
|
||||
} else {
|
||||
RED.notify("<strong>Error</strong>: no response from server","error");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user