Skip to content

[#32] Improvement of errors display in CLI and GUI#33

Merged
stephanebouget merged 1 commit into
stephanebouget:mainfrom
pylapp:pr/22-improve-errors-display
May 5, 2026
Merged

[#32] Improvement of errors display in CLI and GUI#33
stephanebouget merged 1 commit into
stephanebouget:mainfrom
pylapp:pr/22-improve-errors-display

Conversation

@pylapp
Copy link
Copy Markdown
Contributor

@pylapp pylapp commented May 4, 2026

Description

Errors management and display can be improved in both CLI and GUI.
Errors returned by GitHub API were opaque: no HTTP code, no body. Thus some errors were hidden,
even if the origin was the API results.

RepoAlerts has been updated to bring the error message to the frontend.
HTTP errors management has been reviews with better JSON processing with serde.
Add in the GUI a new badge for error cases (red).

Fixes #32

Now the logs can expose better details:

[Orange-OpenSource/ouds-ios] GitHub API error: HTTP 403 — {"message":"Dependabot alerts are disabled for this repository.","documentation_url":"https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository","status":"403"}

And the GUI uses a better display for errors with red badges:
proposal

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests (npm run test) that prove my fix is effective or that my feature works

…ecurity-alerts/stephanebouget#32)

Errors management and display can be improved in both CLI and GUI.
Errors returned by GitHub API were opaque: no HTTP code, no body. Thus some errors were hidden,
even if the origin was the API results.

RepoAlerts has been updated to bring the error message to the frontend.
HTTP errors management has been reviews with better JSON processing with serde.
Add in the GUI a new badge for error cases (red).

Closes stephanebouget#32

Assisted-by: Claude Sonnet 4.6 (OpenCode, LLMProxy)
Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
@pylapp pylapp force-pushed the pr/22-improve-errors-display branch from b712ec1 to 9f54a43 Compare May 4, 2026 16:17
@pylapp pylapp changed the title [#22] Improvement of errors display in CLI and GUI [#32] Improvement of errors display in CLI and GUI May 4, 2026
@stephanebouget stephanebouget merged commit 9891292 into stephanebouget:main May 5, 2026
1 check passed
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.

When I run the app in CLI, I got some cryptic errors about the API without details

2 participants