Skip to content

Service definition allows specification of human readable errors #154

@foreveremain

Description

@foreveremain

Human readable messages for rejecting a job can be reported by limiters at submission time, but human readable messages should also be provided later on when jobs are rejected because executors are not available (#151).

In addition, services might report a job fails due to some issue encountered by the tool during execution. Normally someone would inspect the logs to determine this, and many web apps include code that automatically extracts relevant error messages and presents them to the user for convenience. Slivka services could also do this via the addition of regexes in the service definition, e.g.:

error-messages:
"/out of memory/" : "Program ran out of memory during execution.",
"/no atoms found/" : "Input data couldn't be parsed as an atomic coordinates file.",...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions