diff --git a/src/task.c b/src/task.c index 53289094..8303559d 100644 --- a/src/task.c +++ b/src/task.c @@ -1338,8 +1338,7 @@ void tf_task_resolve_promise(tf_task_t* task, promiseid_t promise, JSValue value } else { - tf_printf("Didn't find promise %d to resolve.\n", promise); - abort(); + tf_printf("WARNING: Didn't find promise %d to resolve.\n", promise); } } @@ -1368,8 +1367,7 @@ void tf_task_reject_promise(tf_task_t* task, promiseid_t promise, JSValue value) } else { - tf_printf("Didn't find promise %d to reject.\n", promise); - abort(); + tf_printf("WARNING: Didn't find promise %d to reject.\n", promise); } }