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

Detailed error messages when nomad start job or delete job fails #362

Open
sohaibiftikhar opened this issue Apr 25, 2018 · 0 comments
Open

Comments

@sohaibiftikhar
Copy link
Collaborator

When submitting or deleting a job to nomad fails (for example, due to a malformed input parameter like URL), the reported failure is a NomadRequestFailed exception which only tracks the request URI and the response code (see code). It might be useful to look at the result.body and use it in the NomadRequestFailed class to show meaningful errors.

As a first step, we do not need to do this in the UI but can at least have logs on the backend that makes it easier to figure out what went wrong without having to use a hit and try mechanism.

@sohaibiftikhar sohaibiftikhar changed the title Detailed error messages when nomad-alloc fails Detailed error messages when nomad start job or delete job fails Apr 25, 2018
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