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

Show proper error message instead of stacktrace if boefje API is unreachable #3550

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

dekkers
Copy link
Contributor

@dekkers dekkers commented Sep 18, 2024

Changes

This catches exceptions from httpx and shows a proper error message.

QA notes

Change the BOEFJE_API to something else so that it unreachable. Run a containerized boefje (nmap, dnssec) and download the task raw data to see the error message.


Checklist for code reviewers:

Copy-paste the checklist from the docs/source/templates folder into your comment.


Checklist for QA:

Copy-paste the checklist from the docs/source/templates folder into your comment.

@dekkers dekkers requested a review from a team as a code owner September 18, 2024 10:04
@dekkers dekkers self-assigned this Sep 18, 2024
@underdarknl underdarknl merged commit bef7a41 into main Sep 18, 2024
10 of 11 checks passed
@underdarknl underdarknl deleted the boefje-api-error branch September 18, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants