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

fail gracefully when api/db not attached, error message needed 😄 (intermediate) #12

Open
MichaelDimmitt opened this issue Jul 29, 2017 · 0 comments

Comments

@MichaelDimmitt
Copy link
Member

MichaelDimmitt commented Jul 29, 2017

Fail gracefully when api/db not attached, error message needed

Possible Fix:
When you first navigate to the page...
"Website is down, api has not been attached and set up."

Example/UseCase
Upon click submit button when filling out a form, does not submit the form if no api is attached.
But also no warning is given.

Resolution: lets put an error message stating, no APi/db attached.
An alert; "No API attached, git clone https://github.com/rubyjax/RubyJaxFE.git"

This fix needs to be applied application wide.

Sometimes, default to read-only prod api.
Also when API, not attached we can default to a read-only prod API.
and only error message on write actions.

@MichaelDimmitt MichaelDimmitt changed the title fail gracefully when api/db not attached, error message needed 😄 fail gracefully when api/db not attached, error message needed 😄 (intermediate) Jul 29, 2017
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