-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error reporting #6
Comments
@svacina @diptadas Here is my proposal for handling errors. Since the repositories we receive may have some microservices that match our requirements and some that don't, I think we shouldn't deny requests outright on a failing microservice. Rather, we should try to continue processing as much as we can and give errors on individual services:
Here is a general error format:
And an updated response format showing the error states:
|
@svacina I created a page in Notion showing the return formats, including error handling: https://www.notion.so/Prophet-Utils-App-9559cde5014e44ea94112e453681bdfb The relevant classes for showing errors are:
|
@vinbush |
@svacina What repository errors do you want to collect? The language and presence of usable annotations vary by microservice, and they can be different within a repository if it contains more than one microservice. |
In case the repository we are analyzing does not comply with our requirements, please send json response with most likely set of violations:
It is a bigger issues, it overlaps with: #5
Please, get in touch on this with Vincent.
The text was updated successfully, but these errors were encountered: