From 9d6bd017d96f20c10204d9bcb71573e3bc005ee3 Mon Sep 17 00:00:00 2001 From: milanvo Date: Tue, 17 Oct 2017 14:51:17 +0000 Subject: [PATCH] Revert - Recorder exception catch for long state string --- homeassistant/components/recorder/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 86437f8758b..eb92f345a07 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -330,11 +330,6 @@ class Recorder(threading.Thread): CONNECT_RETRY_WAIT) tries += 1 - except exc.DataError as err: - # catch query data error - for example longer state string - # than 255 characters - tries = 99 - if not updated: _LOGGER.error("Error in database update. Could not save " "after %d tries. Giving up", tries)