mirror of https://github.com/cowrie/cowrie.git
fix exception attributes (#1357)
This commit is contained in:
parent
8b4003e9d6
commit
2ea41be79c
|
@ -23,7 +23,7 @@ class Output(cowrie.core.output.Output):
|
|||
self.client = InfluxDBClient(host=host, port=port, ssl=ssl, verify_ssl=ssl)
|
||||
except InfluxDBClientError as e:
|
||||
log.msg("output_influx: I/O error({0}): '{1}'".format(
|
||||
e.errno, e.strerror))
|
||||
e.code, e.message))
|
||||
return
|
||||
|
||||
if self.client is None:
|
||||
|
|
Loading…
Reference in New Issue