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

Deleting body file results in infinitely sending request #1155

Open
gricey432 opened this issue Nov 15, 2018 · 0 comments
Open

Deleting body file results in infinitely sending request #1155

gricey432 opened this issue Nov 15, 2018 · 0 comments

Comments

@gricey432
Copy link

Bit of an odd one, if you pick a file for the request body and then delete the file, clicking Send results in the request apparently running but never completing.

Debug shows an unhandled promise rejection

index.js:120342 Unhandled promise rejection: NotFoundError: A requested file or directory could not be found at the time an operation was processed.
window.addEventListener @ index.js:120342

Expected outcome

An error should inform the user their file is unreadable

Actual outcome

UI looks like the request is in flight but hasn't returned yet

Versions

App: 10.0.12
Platform: 5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Steps to reproduce

  1. Create POST request
  2. Choose a file for body
  3. Delete the file on disk
  4. Click Send
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

1 participant