Skip to content

Commit

Permalink
Fix error reporting regression
Browse files Browse the repository at this point in the history
When sending the connection name/port was added, one of the errors
was not updated to pass enough arguments to the callback.
  • Loading branch information
jnthn committed Apr 26, 2018
1 parent 0e9418d commit a7196ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/io/asyncsocket.c
Expand Up @@ -581,6 +581,10 @@ static void connect_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *asyn
tc->instance->VMString, uv_strerror(r));
MVMObject *msg_box = MVM_repr_box_str(tc,
tc->instance->boot_types.BOOTStr, msg_str);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTStr);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTInt);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTStr);
MVM_repr_push_o(tc, arr, tc->instance->boot_types.BOOTInt);
MVM_repr_push_o(tc, arr, msg_box);
});
MVM_repr_push_o(tc, t->body.queue, arr);
Expand Down

0 comments on commit a7196ad

Please sign in to comment.