We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f47a61e + 2bdbfa0 commit 19d64f5Copy full SHA for 19d64f5
1 file changed
cassandra/connection.py
@@ -149,8 +149,8 @@ class ProtocolVersionUnsupported(ConnectionException):
149
Server rejected startup message due to unsupported protocol version
150
"""
151
def __init__(self, host, startup_version):
152
- super(ProtocolVersionUnsupported, self).__init__("Unsupported protocol version on %s: %d",
153
- (host, startup_version))
+ msg = "Unsupported protocol version on %s: %d" % (host, startup_version)
+ super(ProtocolVersionUnsupported, self).__init__(msg, host)
154
self.startup_version = startup_version
155
156
0 commit comments