refs #200 raise ValueError if an object doesn't have a name

This commit is contained in:
Michael Ligh
2020-07-01 20:51:22 +01:00
committed by ikelos
parent 944bf2174f
commit 87ff6dd87c
7 changed files with 14 additions and 6 deletions
@@ -54,7 +54,7 @@ class DriverScan(interfaces.plugins.PluginInterface):
try:
driver_name = driver.get_driver_name()
except exceptions.InvalidAddressException:
except (ValueError, exceptions.InvalidAddressException):
driver_name = renderers.NotApplicableValue()
try: