Add more detailed information for non-threaded scanners.

This commit is contained in:
Mike Auty
2017-08-31 01:02:42 +01:00
parent e09ad9b884
commit 9346e220ed
+2 -1
View File
@@ -206,7 +206,8 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR
scan_chunk = functools.partial(self._scan_chunk, scanner, min_address, max_address, progress)
for value in scan_iterator():
if progress_callback:
progress_callback(scan_metric(progress.value))
progress_callback(scan_metric(progress.value),
"Scanning {} using {}".format(self.name, scanner.__class__.__name__))
yield from scan_chunk(value)
except Exception as e:
vollog.debug("Exception: {}".format(str(e)))