From c15ddb85979f38dee8814f4fab74ba4148038c0a Mon Sep 17 00:00:00 2001 From: Jorys_Paulin Date: Fri, 4 May 2018 18:35:19 +0200 Subject: [PATCH] Added error when failed to get gamelist --- static/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 9e92e70..fb05cad 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -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();