mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure catalog load errors are logged to the console
This commit is contained in:
parent
569b9f3d06
commit
e3dab3cf20
@ -381,6 +381,7 @@ RED.palette.editor = (function() {
|
|||||||
handleCatalogResponse(null,catalog,index,v);
|
handleCatalogResponse(null,catalog,index,v);
|
||||||
refreshNodeModuleList();
|
refreshNodeModuleList();
|
||||||
}).fail(function(jqxhr, textStatus, error) {
|
}).fail(function(jqxhr, textStatus, error) {
|
||||||
|
console.warn("Error loading catalog",catalog,":",error);
|
||||||
handleCatalogResponse(jqxhr,catalog,index);
|
handleCatalogResponse(jqxhr,catalog,index);
|
||||||
}).always(function() {
|
}).always(function() {
|
||||||
handled++;
|
handled++;
|
||||||
|
Loading…
Reference in New Issue
Block a user