Fix string formatting on error log

The missing parenthesys caused a string formatting error, which hides
the actual failure when running the container.

Change-Id: Ieebf4abd536ccfceeba645c52b109b00faf4ee57
This commit is contained in:
Flavio Percoco 2017-01-11 16:08:04 +01:00
parent 302658210e
commit e6fee0d907
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ if __name__ == "__main__":
try:
main()
except ExitingException as e:
LOG.error("%s: %s" % e.__class__.__name__, e)
LOG.error("%s: %s", e.__class__.__name__, e)
_exit_code = e.exit_code
except Exception:
LOG.exception('Unexpected error:')