Revert - Recorder exception catch for long state string

This commit is contained in:
milanvo 2017-10-17 14:51:17 +00:00
parent 0593affd7e
commit 9d6bd017d9

View file

@ -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)