Skip to content

Imported "rxjs/add/observable/throw" to enable Observable.throw#10

Merged
billba merged 1 commit intomicrosoft:masterfrom
willemodendaal:master
Mar 3, 2017
Merged

Imported "rxjs/add/observable/throw" to enable Observable.throw#10
billba merged 1 commit intomicrosoft:masterfrom
willemodendaal:master

Conversation

@willemodendaal
Copy link
Copy Markdown

When an error occurred (eg. token refresh fails because there is no internet connectivity), Observable.throw would get called, but then we get a javascript error because "throw" does not exist on Observable yet.

I had to import "rxjs/add/observable/throw" to get it to work.

So that we don't get "throw" is undefined when an error occurs.
@msftclas
Copy link
Copy Markdown

msftclas commented Mar 3, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@billba billba merged commit e1be224 into microsoft:master Mar 3, 2017
@billba
Copy link
Copy Markdown
Member

billba commented Mar 3, 2017

Thanks very much!

@willemodendaal
Copy link
Copy Markdown
Author

Pleasure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants