fix(scan_server): error during return_to_start was not caught and caused the...
Description
An error during a scan's return_to_start
method was not caught and caused the scan worker to shut down. This MR modifies the scan worker to catch unknown errors and raise a scan abortion.
Changes
- Added try/except to the scan worker's cleanup section
- The shutdown of a scan worker raises a ScanAbortion
- Added checks to flomni's return to start to avoid getting an
Index out of range
error - Added logs to simplify the error tracing in the future.
Definition of Done
-
Documentation is up-to-date.
Edited by wakonig_k