mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 14:45:09 +02:00
Revert - Recorder exception catch for long state string
This commit is contained in:
@@ -330,11 +330,6 @@ class Recorder(threading.Thread):
|
|||||||
CONNECT_RETRY_WAIT)
|
CONNECT_RETRY_WAIT)
|
||||||
tries += 1
|
tries += 1
|
||||||
|
|
||||||
except exc.DataError as err:
|
|
||||||
# catch query data error - for example longer state string
|
|
||||||
# than 255 characters
|
|
||||||
tries = 99
|
|
||||||
|
|
||||||
if not updated:
|
if not updated:
|
||||||
_LOGGER.error("Error in database update. Could not save "
|
_LOGGER.error("Error in database update. Could not save "
|
||||||
"after %d tries. Giving up", tries)
|
"after %d tries. Giving up", tries)
|
||||||
|
Reference in New Issue
Block a user