mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Issue #11 - only show error code on Alert toaster (rather than full error)
This commit is contained in:
parent
38d309dcf3
commit
07ff9aa061
@ -80,7 +80,7 @@
|
|||||||
RED.notify("Successfully injected: "+label,"success");
|
RED.notify("Successfully injected: "+label,"success");
|
||||||
} else {
|
} else {
|
||||||
if (resp) {
|
if (resp) {
|
||||||
RED.notify("<strong>Error</strong>: unexpected response:"+resp,"error");
|
RED.notify("<strong>Error</strong>: unexpected response: RC "+resp.status+"<br/>See console log for details."error");
|
||||||
} else {
|
} else {
|
||||||
RED.notify("<strong>Error</strong>: no response from server","error");
|
RED.notify("<strong>Error</strong>: no response from server","error");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user