Skip to content

Commit 743ba51

Browse files
woodleeedenhill
authored andcommitted
Minor bugfix: Fix format string parameters for ClientError
1 parent c37ae54 commit 743ba51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/avro/cached_schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def update_compatibility(self, level, subject=None):
461461
if code >= 200 and code <= 299:
462462
return result['compatibility']
463463
else:
464-
raise ClientError("Unable to update level: %s. Error code: %d" % (str(level)), code)
464+
raise ClientError("Unable to update level: %s. Error code: %d" % (str(level), code))
465465

466466
def get_compatibility(self, subject=None):
467467
"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy