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

runservice: improve errors in logsHandler #179

Merged

Commits on Nov 13, 2019

  1. runservice: improve errors in logsHandler

    * return errNotExist in readTaskLogs when the executor task doesn't exist: so
    the client will receive a 404 instead of a 500 (since a generic error will be
    mapped to a 500).
    * Wrap the errNotExist returned by readTaskLogs with a new ErrNotExits reporting
    "log doesn't exist"
    sgotti committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    66e182a View commit details
    Browse the repository at this point in the history