Commit Graph
3 Commits
Author SHA1 Message Date
L1ghtn1ng 98dbda9af7 Harden API auth and fix type lint issues 2026-05-10 05:04:06 +01:00
Chris (ChrisJr404) 4fb1ad7ef3 fix(worker): surface the underlying exception when a work item fails (#2227)
The async worker that drains the engine queue catches `Exception` with
no `as` binding and prints the bare line

    "A error occurred while processing a 'work item'."

That message both swallows the actual error class+text (so users
report bugs like #2227 with no actionable detail and the maintainer
has to ask them to repro under more verbosity) and reads "A error"
instead of the grammatical "An error".

Bind the exception, print its type and message, and fix the article.
The shodan integration test (`tests/discovery/test_shodan_engine.py`)
already asserts the message is not in output on the happy path; the
assertion is updated to match the new string.

Closes #2227.
2026-05-03 11:35:54 -04:00
L1ghtn1ng 419291a3e7 implement fixes by cyberkimchi in #2227 2026-02-08 13:31:49 +00:00