We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the server is down, the responseError handler is still called. But then rejection.data is null, which causes another error! 😢
rejection.data
function ConfigureErrorHandler($httpProvider) { $httpProvider.interceptors.push(function($q, $rootScope, $log, $injector) { return { 'responseError': function(rejection) { $log.debug(rejection); $rootScope.errorDescription = rejection.data.error;
The text was updated successfully, but these errors were encountered:
hut8
No branches or pull requests
When the server is down, the responseError handler is still called. But then
rejection.data
is null, which causes another error! 😢The text was updated successfully, but these errors were encountered: