Well Sander and Kyle, any ideas? I suspect this is something unique to me
(ie have I done something dumb) but the problem I have is how to debug
this. I can debug on the server side and see that data is being found (and
in the past, if it is cors, then the data is not retrieved by the
server, the request is rejected) but how do I debug on the angular side? It
looks as though the promise is not returning (for instance is the request
timing out to quickly?) but it is how to debug this.
By the way, I have been testing this in Firefox. I get the sane result in
Edge.
I have just realised that I should have told you that the handleError
routine is being called.
private handleError(error: any): Promise<any> {
console.error('An error occurred', error);
return Promise.reject(error.message || error);
}
but the value of error, when opened and drilled down does not have anything
that leaps out.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.