Add error handling on "log2sqlite.py"