If I unexpectedly power off my raspberry pi, after a reboot it can happen that this database will not work.
I get the following error. Maybe during the power off it was written to it. I need to remove the file.
20 Feb 19:55:47 - [error] [DataIn:a4b05396bf5dc9ac] DatabaseError: Can't Load Database:
SyntaxError: Unexpected end of JSON input
Can a check be implemented for handling the Unexpected end of JSON input?
If I unexpectedly power off my raspberry pi, after a reboot it can happen that this database will not work. I get the following error. Maybe during the power off it was written to it. I need to remove the file.
20 Feb 19:55:47 - [error] [DataIn:a4b05396bf5dc9ac] DatabaseError: Can't Load Database: SyntaxError: Unexpected end of JSON input
Can a check be implemented for handling the Unexpected end of JSON input?