diff --git a/util/config/validators/validate_storage.py b/util/config/validators/validate_storage.py index b240d6094..4860c5d5c 100644 --- a/util/config/validators/validate_storage.py +++ b/util/config/validators/validate_storage.py @@ -26,7 +26,7 @@ class StorageValidator(BaseValidator): # Run setup on the driver if the read/write succeeded. driver.setup() except Exception as ex: - msg = str(ex).strip() + msg = str(ex).strip().split("\n")[0] raise ConfigValidationException('Invalid storage configuration: %s: %s' % (name, msg))