diff --git a/resources/lib/timing.py b/resources/lib/timing.py index d3332e40..3ca7ee6d 100644 --- a/resources/lib/timing.py +++ b/resources/lib/timing.py @@ -33,10 +33,10 @@ def unix_date_to_kodi(unix_kodi_time): """ try: return strftime('%Y-%m-%d %H:%M:%S', localtime(float(unix_kodi_time))) - except Exception: - LOG.exception('Received an illegal timestamp from Plex: %s. ' - 'Using 1970-01-01 12:00:00', - unix_kodi_time) + except: + LOG.error('Received an illegal timestamp from Plex: %s. ' + 'Using 1970-01-01 12:00:00', + unix_kodi_time) return '1970-01-01 12:00:00'