From e6fee0d90745219766533be531f6932951efe6b0 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Wed, 11 Jan 2017 16:08:04 +0100 Subject: 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 --- docker/base/set_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py index 79e520f62..7d10772e2 100644 --- a/docker/base/set_configs.py +++ b/docker/base/set_configs.py @@ -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:') -- cgit v1.2.3