mozilla / ssh_scan_api

An API for ssh_scan (https://github.com/mozilla/ssh_scan) and the backend API service for the Mozilla SSH Observatory (https://observatory.mozilla.org/)
32 stars 8 forks source link

Need some way for workers to communicate exceptions back to the API and populate them in the API stats #23

Closed claudijd closed 7 years ago

claudijd commented 7 years ago

Recommending fixing #24 in the process

claudijd commented 7 years ago

We technically have the facility to do this now...

1.) We set error attribute on the scan 2.) When it gets back to the API, the DB status is set to errored, the worker can decide how much error information they would want to include. My expectation would be a capture of the options supplied and stacktrace to make bug hunting easier to resolve (it also means that a manual update to the DB when bugs are fixed can result in a re-tasking effort)