1
0
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:
Dave C-J 2013-09-07 11:26:22 +01:00
parent 38d309dcf3
commit 07ff9aa061

View File

@ -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");
} }