From 07ff9aa0617e62300d89d54b88d9ddce9c78c67f Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Sat, 7 Sep 2013 11:26:22 +0100 Subject: [PATCH] Issue #11 - only show error code on Alert toaster (rather than full error) --- nodes/core/20-inject.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/20-inject.html b/nodes/core/20-inject.html index 31506d78c..254a6f39b 100644 --- a/nodes/core/20-inject.html +++ b/nodes/core/20-inject.html @@ -80,7 +80,7 @@ RED.notify("Successfully injected: "+label,"success"); } else { if (resp) { - RED.notify("Error: unexpected response:"+resp,"error"); + RED.notify("Error: unexpected response: RC "+resp.status+"
See console log for details."error"); } else { RED.notify("Error: no response from server","error"); }