Skip to content

Make Error Link URL More Useful #1

@dotasek

Description

@dotasek

As of writing this, a new error format has been adopted following this format:

{
"data": {},
"errors": [
{
"status": 404,
"code": "cy://cyrest-core/404",
"message": "Network 52 does not exist",
"link": "file:/somedirectory/CytoscapeConfiguration/3/framework-cytoscape.log"
}
],
}

The link field in an error element simply points to the URI of the framework log file.

A potential improvement is making the link point to a resource to expose the log file, with filters that could correspond to specific errors or error classes:

GET /v1/log?marker=error1234

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions