diff --git a/whitebox_neutron_tempest_plugin/common/tcpdump_capture.py b/whitebox_neutron_tempest_plugin/common/tcpdump_capture.py index 5b66f5f..ffc24d2 100644 --- a/whitebox_neutron_tempest_plugin/common/tcpdump_capture.py +++ b/whitebox_neutron_tempest_plugin/common/tcpdump_capture.py @@ -80,8 +80,8 @@ class TcpdumpCapture(fixtures.Fixture): def is_empty(self): try: pcap = rdpcap(self._open_capture_file()) - except Exception as e: - LOG.debug('Error reading pcap file: ', str(e)) + except Exception: + LOG.exception('Error reading pcap file') return True for record in pcap: return False