Ensure catalog load errors are logged to the console

pull/2470/head
Nick O'Leary 2020-02-14 16:14:52 +00:00
parent 569b9f3d06
commit e3dab3cf20
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ RED.palette.editor = (function() {
handleCatalogResponse(null,catalog,index,v);
refreshNodeModuleList();
}).fail(function(jqxhr, textStatus, error) {
console.warn("Error loading catalog",catalog,":",error);
handleCatalogResponse(jqxhr,catalog,index);
}).always(function() {
handled++;