cloudfoundry / cloudfoundry/stratos

Improve backend error logging

Open
#3,998 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

backlog P1
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Can we use go 1.13 error wrapping to give us more detail?

Tidy up the whole HTTP Shadow error stuff and have a consistent way of sending back JSON error responses from the backend and make sure this is used appropriately.

All REST JSON calls should use this.

Also, improve backend error messages and try and include message for how to fix the issue if possible - e.g. when credentials are incorrect.

Tidy up the OAuthHandlerFunc function - improve error messages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.