Revision 2c1ac615

View differences:

src/sunstone/public/app/tabs/hosts-tab/panels/wilds.js
351 351
                },
352 352
                error: function(response){
353 353
                  var msg;
354
                  if (error_json.error.message){
355
                    msg = error_json.error.message;
354
                  if (response.responseJSON && response.responseJSON.error.message){
355
                    msg = response.responseJSON.error.message;
356 356
                  } else {
357 357
                    msg = Locale.tr("Cannot contact server: is it running and reachable?");
358 358
                  }

Also available in: Unified diff