mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #2542] [feature]: Better error handling #849
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FranMaric on GitHub (Jul 29, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2542
Is there an existing issue for this?
Summary
I use environment variables in Hoppscotch. When using an environment variable in your path without previously choosing your environment the user interface doesn't give an obvious error that environment is missing or that environment variable is missing it just says "Could not send request". It took me some time to realise what was going on. I think this deserves attention because it's bad user experience. You should a better error that says you are missing an environment variable.
Why should this be worked on?
Better error handling is always gladly accepted by users. This is sub optimal UI/UX
@aitchnyu commented on GitHub (Aug 24, 2022):
Few other contexts where better error message will help.
Doing
POST https://mockbin.comjust shows "Could not send request". It should inform the user it was a CORS error.Console shows:
Doing
https://fakefakefdasfsafa.com(non existing site) just shows "Could not send request". It should inform the user it was a DNS failure.Console shows:
@liyasthomas commented on GitHub (Oct 2, 2022):
When using an environment variable where no environment is selected; will gives you a red background color on it. The same happens when the selected environment doesn’t have a the specified variables.