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

Improve error reporting #190

Open
asifkazi opened this issue Jan 22, 2025 · 1 comment
Open

Improve error reporting #190

asifkazi opened this issue Jan 22, 2025 · 1 comment

Comments

@asifkazi
Copy link

DevGateway dies with internal server error if the workspace in the workload-dev-mode.json does not have a capacity assigned to it.

Developers are left clueless into what is going on can we provide better error reporting by doing pre-flight checks:

  1. Is the workspace id correct or invalid
  2. Is a capacity assigned to the workspace

Otherwise its trial and error to figure out what is going on

@SanchanaMohankumar
Copy link

Hi @asifkazi,
I encountered the same internal server error while running DevGateway, but after undoing each change, I identified that the problem originated from modifications made in item1.json and Product.json files. These changes did not pass the validation script located in the validation folder which resulted in DevGateway failure. Adding this point for future reference.
Thank you

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

2 participants