From ae49c4d113085b3032b43c225ad3d9ea0c26734a Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 23 Jul 2014 17:35:55 +0200 Subject: [PATCH] http: Add missing string interpolation placeholder --- docs/changelog.rst | 4 ++++ mopidy/http/handlers.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index c461db63..7a218f98 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,6 +13,10 @@ v0.19.1 (UNRELEASED) Mopidy continue to work on Debian/Raspbian stable, where Tornado 2.3 is the newest version available. +**HTTP** + +- Add missing string interpolation placeholder. + **Development** - ``mopidy --version`` and :meth:`mopidy.core.Core.get_version` now returns the diff --git a/mopidy/http/handlers.py b/mopidy/http/handlers.py index 4ea2e97d..f35b5c7c 100644 --- a/mopidy/http/handlers.py +++ b/mopidy/http/handlers.py @@ -144,7 +144,7 @@ class JsonRpcHandler(tornado.web.RequestHandler): 'Sent RPC message to %s: %r', self.request.remote_ip, response) except Exception as e: - logger.error('HTTP JSON-RPC request error:', e) + logger.error('HTTP JSON-RPC request error: %s', e) self.write_error(500) def set_extra_headers(self):