Skip to content

Handle Aspen outages, improve error handling - #278

Merged
psvenk merged 2 commits into
masterfrom
aspendown
Mar 17, 2021
Merged

psvenk merged 2 commits into
masterfrom
aspendown

Conversation

@psvenk

@psvenk psvenk commented Mar 11, 2021 •

Copy link
Copy Markdown
Member

Closes #277. Distinguish between an Aspen server outage and incorrect login information, creating a new enum in the backend to keep track of error codes.

Distinguish between an Aspen server outage and incorrect login
information, creating a new enum in the backend to keep track of error
codes.

Still TODO: decide on a consistent format for communicating errors to
the frontend (response.recent.login_fail should probably be deprecated
in favor of something more scalable) and rewrite the relevant frontend
code
@psvenk psvenk added this to the 2.7.1 milestone Mar 11, 2021
Use ?error= instead of ?fail=1, and adapt the frontend code to handle
multiple types of errors.
@psvenk
psvenk marked this pull request as ready for review March 11, 2021 21:06

@tektaxi tektaxi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good!

@psvenk
psvenk merged commit 5e3b87b into master Mar 17, 2021
@psvenk
psvenk deleted the aspendown branch March 17, 2021 18:21
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

Successfully merging this pull request may close these issues.

Handle Aspen Errors more gracefully

2 participants