Sort of barely starting to call httpd callbacks with the new implementation.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4686 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -180,7 +180,12 @@ bool tf_util_report_error(JSContext* context, JSValue value)
|
||||
else if (JS_IsException(value))
|
||||
{
|
||||
tf_task_t* task = tf_task_get(context);
|
||||
tf_task_send_error_to_parent(task, value);
|
||||
if (!tf_task_send_error_to_parent(task, value))
|
||||
{
|
||||
JSValue exception = JS_GetException(context);
|
||||
tf_util_report_error(context, exception);
|
||||
JS_FreeValue(context, exception);
|
||||
}
|
||||
is_error = true;
|
||||
}
|
||||
return is_error;
|
||||
|
Reference in New Issue
Block a user