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

Mobile can't see console for request errors #283

Closed
WalshyDev opened this issue Nov 7, 2019 · 2 comments
Closed

Mobile can't see console for request errors #283

WalshyDev opened this issue Nov 7, 2019 · 2 comments

Comments

@WalshyDev
Copy link

WalshyDev commented Nov 7, 2019

Describe the bug
I did a POST request and got a "Network Error" status, the response body said See JavaScript console (F12) for details.. This isn't possible on mobile. It would be nice to send that error right to the body text area instead.

To Reproduce
Steps to reproduce the behavior:

  1. Create request for invalid URL (Such as https://fail.walshy.dev)
  2. Send
  3. See the response body say to check console

Expected behavior
The error is printed to the response body so that mobile users can see what went wrong.

Screenshots
6565B2ED-4A61-47BF-BB07-0A8878A027C5

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):

  • Device: iPhone XR
  • OS: iOS
  • Browser: Safari
  • Version: 12? (iOS 12.1.2)

Additional context
N/A

@WalshyDev WalshyDev changed the title Mobile can't console for errors Mobile can't see console for request errors Nov 7, 2019
@liyasthomas
Copy link
Member

Ohh! That prompt was a generic one made for letting the users know some error from either server or API side has been occurred.
Originally it was intended for desktop, but anyway thanks for bringing this up. It somehow reduce user experience. Will update with a more accurate prompt on such cases

@NBTX
Copy link
Contributor

NBTX commented Nov 7, 2019

9 times out of 10 it's not possible to get the details of the error on the website because if it's to do with a request failure, the browser has strict requirements on what errors and what properties of those errors can be viewed.

As there is no developer tools on mobile, I resorted to simply displaying a generic error message.

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

3 participants