You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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 theresult.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.
The text was updated successfully, but these errors were encountered: