Skip to content

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

@MichaelDimmitt

Description

@MichaelDimmitt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions