Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

distinguish between auth network & server errors#82

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
argemiront merged 1 commit intomasterfromfix/auth-error
Jan 25, 2020

Conversation

ShMcK
Copy link
Member

Closes#79

There's currently an error component that looks like this:https://github.com/ShMcK/coderoad-vscode/blob/master/web-app/src/components/Error/index.tsx

It will display any errors.

In this case the message is a bit unclear, but comes from a custom error:https://github.com/ShMcK/coderoad-vscode/blob/master/web-app/src/services/state/actions/api.ts#L45

Possible causes of authentication failure on startup include:

  • internet not connected
  • server not responding
  • authentication failed (unlikely to happen)

The error didn't distinguish between server issues & network issues (bad/no connection). It should work now.

Copy link
Member

@argemirontargemiront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sounds good to me!

@argemirontargemiront merged commit4097b30 intomasterJan 25, 2020
@argemirontargemiront deleted the fix/auth-error branchJanuary 25, 2020 23:08
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@argemirontargemirontargemiront approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add custom Error page
2 participants
@ShMcK@argemiront

[8]ページ先頭

©2009-2025 Movatter.jp