Print only first line of s3 error message
This commit is contained in:
parent
78f77017e8
commit
2d60ad71b6
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
||||
|
|
Reference in a new issue