mirror of
https://github.com/aunefyren/wrapperr
synced 2024-11-10 13:44:12 +00:00
Added console error output
This commit is contained in:
parent
01d5292a1e
commit
ba65ae2832
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -82,6 +82,7 @@ $(document).on('submit', '#plex_login_form', function(){
|
|||
document.getElementById('snowflakes').style.display = 'none';
|
||||
} catch(error) {
|
||||
document.getElementById('results_error').innerHTML = "API response can't be parsed.";
|
||||
console.log('API response can\'t be parsed. Error: ' + this.responseText)
|
||||
}
|
||||
|
||||
//console.log(result);
|
||||
|
@ -305,4 +306,4 @@ function delete_link_user() {
|
|||
xhttp.open("post", "api/delete_link_user.php");
|
||||
xhttp.send(cookie_data);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue