Skip to content
New issue

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

Wrong field used in case of error #16

Open
mzielinski opened this issue May 28, 2018 · 1 comment
Open

Wrong field used in case of error #16

mzielinski opened this issue May 28, 2018 · 1 comment

Comments

@mzielinski
Copy link

this.onUpload.emit({ file: this._file, event: event });

It should be error, not event used in error handler. Because of that, there is exception in console, and event is not sent when http status is different than 2xx.

@OzBob
Copy link

OzBob commented Jul 12, 2021

PR updating:

this.onUpload.emit({ file: this._file, event: event });

to 'error' as suggested.

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

No branches or pull requests

2 participants