diff --git a/confluent_client/bin/nodeeventlog b/confluent_client/bin/nodeeventlog index b8fc22ad..e95f31f1 100644 --- a/confluent_client/bin/nodeeventlog +++ b/confluent_client/bin/nodeeventlog @@ -45,7 +45,7 @@ exitcode = 0 def format_event(evt): retparts = [] - if 'timestamp' in evt: + if 'timestamp' in evt and evt['timestamp'] is not None: display = dt.strptime(evt['timestamp'], '%Y-%m-%dT%H:%M:%S') retparts.append(display.strftime('%m/%d/%Y %H:%M:%S')) dscparts = []