Skip to content
Snippets Groups Projects
Commit 7f01d1d8 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

better error msgs

parent 069a9745
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
response.data.room_id, response.data.room_alias);
},
function(error) {
$scope.feedback = "Failure: " + error.data;
$scope.feedback = "Failure: " + JSON.stringify(error.data);
});
};
......@@ -94,7 +94,7 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
$location.url("room/" + room_id);
},
function(error) {
$scope.feedback = "Can't join room: " + error.data;
$scope.feedback = "Can't join room: " + JSON.stringify(error.data);
}
);
};
......@@ -106,7 +106,7 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
$location.url("room/" + room_alias);
},
function(error) {
$scope.feedback = "Can't join room: " + error.data;
$scope.feedback = "Can't join room: " + JSON.stringify(error.data);
}
);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment