Write to log the error relater keystone credential failure

Change-Id: I1955c8c9a5ef02b899bd2b6dde8d360633c92edf
changes/05/708605/2
Federico Ressi 3 years ago
parent 135de24450
commit c6221ae26c

@ -272,8 +272,9 @@ class DefaultKeystoneCredentialsFixture(KeystoneCredentialsFixture):
for fixture in self.fixtures:
try:
credentials = tobiko.setup_fixture(fixture).credentials
except Exception:
LOG.debug("Error getting cretentials from %r", fixture)
except Exception as ex:
LOG.debug("Error getting credentials from %r: %s",
tobiko.get_fixture_name(fixture), ex)
errors.append(tobiko.exc_info())
continue

Loading…
Cancel
Save