Skip to content

not known why browse doesn't work #40

@Akuukis

Description

@Akuukis

Is your feature request related to a problem? Please describe.

The "ERROR. RETRY?" doesn't explain much. See #39

Describe the solution you'd like

Should detect and differentiate between various cases to inform the user better

  1. Sometimes user just doesn't have (enough good) internet
  2. Sometimes server is down for no reason
  3. Sometimes database in server is not responding for no reason
  4. Sometimes it's expected to be a rough period with lot's of downtime (like last week of mass repraise)

Describe alternatives you've considered

Should be able to detect those automatically

  1. just query some other website
  2. if fails, display "no internet". Otherwise query base db.spacengineerspraisal.com which is super cheap and fast to see if there's connection at all
  3. if fails, display "server is down. Maintainer is already notified, no action required. See uptime [here]". Otherwise query the simplest db endpoint
  4. if fails, display "server is up but database is down. Maintainer is already notified, no action required. See uptime [here]". Otherwise check if every blueprint has the newest version.
  5. if fails, display "SE Praisal got updated, but some blueprints are still outdated and missing. It should be done in couple of days."

Also need a way to set a custom message, e.g. "SE Praisal just got a upgrade and now will take into account Sparks of Future blocks too. Yay! But it will take a week to repraise all the blueprints with some downtime, missing blueprints from browse, and other problems. If you are reading this, then it has just happened. Thanks for understanding,"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions