Commit 7c0300a6 authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

added some debug output for failed requests

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent cb6945bd
......@@ -97,6 +97,7 @@
};
var onError = function(data) {
console.log(data);
if (data.status === 401) {
$rootScope.$broadcast('force_logout', '');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment