Commit 8797be9f by stuart nelson

Add existence check for canceler.

parent cc64d65c
......@@ -131,7 +131,9 @@ function (angular, _, coreModule, config) {
if (requestIsLocal && firstAttempt && err.status === 401) {
return self.loginPing().then(function() {
options.retry = 1;
canceler.resolve();
if (canceler) {
canceler.resolve();
}
return self.datasourceRequest(options);
});
}
......
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