Handle reg token not accepted in installation (#341)

This commit is contained in:
Dulana Peiris
2024-01-30 14:26:03 +05:30
committed by GitHub
parent 6cdf83366c
commit 8b42b99cd8
6 changed files with 34 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ namespace sqlite
char *err_msg;
if (sqlite3_exec(db, sql.data(), callback, (callback != NULL ? (void *)callback_first_arg : NULL), &err_msg) != SQLITE_OK)
{
LOG_ERROR << "SQL error occured: " << err_msg;
LOG_ERROR << "SQL error occurred: " << err_msg;
sqlite3_free(err_msg);
return -1;
}