diff options
| author | Jeff Widman <jeff@jeffwidman.com> | 2017-12-07 15:07:31 -0800 |
|---|---|---|
| committer | Jeff Widman <jeff@jeffwidman.com> | 2017-12-12 11:06:44 -0800 |
| commit | 580520bcb9dc2ed9725e4b4871cd275f6826a182 (patch) | |
| tree | 19b7dbdb15a8d5e2dd10bae3261321f033444b28 /kafka/protocol | |
| parent | a699f6a347591076b5c427fc245e5ed5f5ffdd49 (diff) | |
| download | kafka-python-580520bcb9dc2ed9725e4b4871cd275f6826a182.tar.gz | |
Minor Exception cleanup
Diffstat (limited to 'kafka/protocol')
| -rw-r--r-- | kafka/protocol/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/types.py b/kafka/protocol/types.py index 516b957..6a6e89e 100644 --- a/kafka/protocol/types.py +++ b/kafka/protocol/types.py @@ -148,7 +148,7 @@ class Schema(AbstractType): field_val = value[i] key_vals.append('%s=%s' % (self.names[i], self.fields[i].repr(field_val))) return '(' + ', '.join(key_vals) + ')' - except: + except Exception: return repr(value) |
