Added error when failed to get gamelist

This commit is contained in:
Jorys_Paulin 2018-05-04 18:35:19 +02:00
parent d062346db2
commit c15ddb8597

View File

@ -543,9 +543,9 @@ function showApps(host) {
$(outerDiv).append(img);
});
}, function(failedAppList) {
$('#naclSpinner').hide();
console.log('%c[index.js, showApps]', 'color: green;', 'Failed to get applist from host: ' + host.hostname, '\n Host object:', host, host.toString());
$('#naclSpinner').hide(); // TODO: Add placeholder graphic
snackbarLog('Unable to get your games')
console.error('%c[index.js, showApps]', 'Failed to get applist from host: ' + host.hostname, '\n Host object:', host, host.toString());
});
showAppsMode();