diff --git a/src/middlewared/middlewared/plugins/device_/device_info.py b/src/middlewared/middlewared/plugins/device_/device_info.py index c3005175db157..1d03366d8450f 100644 --- a/src/middlewared/middlewared/plugins/device_/device_info.py +++ b/src/middlewared/middlewared/plugins/device_/device_info.py @@ -221,7 +221,7 @@ def _get_rotation_rate(self, device_path): try: disk = libsgio.SCSIDevice(device_path) rotation_rate = disk.rotation_rate() - except (OSError, RuntimeError): + except Exception: if device_path not in self.DISK_ROTATION_ERROR_LOG_CACHE: self.DISK_ROTATION_ERROR_LOG_CACHE.add(device_path) self.logger.error('Ioctl failed while retrieving rotational rate for disk %s', device_path)