From ea3d8109b4f90e83e5581f9434c828785c08d932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Fri, 18 Sep 2015 16:33:46 +0200 Subject: Log errors to console. --- js/codeq/language.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/codeq/language.js') diff --git a/js/codeq/language.js b/js/codeq/language.js index 78fa83a..1a87097 100644 --- a/js/codeq/language.js +++ b/js/codeq/language.js @@ -71,7 +71,8 @@ }) .fail(function (reason) { $('#disabled').css('display', 'none'); - alert('Login request failed: ' + reason); + codeq.log.error('Getting problem definitions failed: ' + reason, reason); + alert('Getting problem definitions failed: ' + reason); }) .done(); } -- cgit v1.2.1