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

Implement tailored Error Message for users #1236

Open
OlegMoshkovich opened this issue Jul 15, 2024 · 0 comments
Open

Implement tailored Error Message for users #1236

OlegMoshkovich opened this issue Jul 15, 2024 · 0 comments

Comments

@OlegMoshkovich
Copy link
Member

OlegMoshkovich commented Jul 15, 2024

Currently, when a user encounters an error while loading a model, they receive the same generic error message.
This does not help users identify the specific cause of the error or help them to resolve it.
We need to implement tailored error messages that address the specific reasons for the failure.
Possible causes of error:

  • Private model access issues.
  • GitHub API rate limits.
  • Problem with the model path
  • Unknown reasons requiring a model reload.

Tailored error Messages:

  1. Could not load the model
    Try accessing the model again

  2. If you are not logged in and trying to access a file hosted on GitHub, you are subject to GitHub REST API rate limits

  • Log into Share using a Github credentials
  • Access the file again
  • Check console for errors
  1. Check the file path, it might contain inconsistencies that prevent the model load
    https:/​/​github.com/​bldrs-​ai/​test-​models/​blob/​main/​ifc/​bldrs/​b.ifc

  2. We do not support the file type

  3. Check the console for errors and let us know on Discord or GitHub

@OlegMoshkovich OlegMoshkovich added this to the Error handling milestone Aug 9, 2024
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