Made sure that SQL errors make it to the client.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3867 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-04-18 00:24:00 +00:00
parent 11ad344e52
commit 804359d12e
6 changed files with 53 additions and 36 deletions

View File

@ -1346,6 +1346,7 @@ static bool _tf_task_run_jobs(tf_task_t* task)
if (context)
{
tf_util_report_error(context, result);
JS_FreeValue(context, result);
}
if (r < 0)
{