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

feat(api,ui): improve error and display request id in ui #5225

Merged
merged 13 commits into from
Jun 4, 2020

Conversation

richardlt
Copy link
Member

  1. Description
  2. Related issues
  3. About tests
  4. Mentions

@ovh/cds

@@ -937,7 +970,7 @@ func (e *MultiError) Append(err error) {
e.Append((*mError)[i])
}
} else {
*e = append(*e, err)
*e = append(*e, WithStack(err))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include the multiError Append in the stack of each function may be annoying

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a filter on func name in the print of the log call stack to ignore it.

@ovh ovh deleted a comment from ovh-cds Jun 3, 2020
@ovh ovh deleted a comment from ovh-cds Jun 3, 2020
@ovh ovh deleted a comment from ovh-cds Jun 3, 2020
@ovh ovh deleted a comment from ovh-cds Jun 3, 2020
@ovh-cds
Copy link
Collaborator

ovh-cds commented Jun 3, 2020

CDS Report build-all-cds#13450.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✘
    • Test SDK ✔
    • Test SDK Rust ✔
    • Test UI ✔

@sonarcloud
Copy link

sonarcloud bot commented Jun 3, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 4 Code Smells

No Coverage information No Coverage information
4.6% 4.6% Duplication

@richardlt richardlt requested a review from fsamin June 4, 2020 09:05
@fsamin fsamin merged commit 02c2eab into master Jun 4, 2020
@richardlt richardlt deleted the fix-wrap-multi-error branch July 13, 2020 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants