Skip to content

Instantly share code, notes, and snippets.

@timo
Created November 8, 2017 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/f9fd9cf97f99d5169626b02eded46972 to your computer and use it in GitHub Desktop.
Save timo/f9fd9cf97f99d5169626b02eded46972 to your computer and use it in GitHub Desktop.
diff --git a/src/io/eventloop.c b/src/io/eventloop.c
index e003af58f..929ef46f7 100644
--- a/src/io/eventloop.c
+++ b/src/io/eventloop.c
@@ -226,7 +226,7 @@ MVMAsyncTask * MVM_io_eventloop_get_active_work(MVMThreadContext *tc, int work_i
if (work_idx >= 0 && work_idx < MVM_repr_elems(tc, tc->instance->event_loop_active)) {
MVMObject *task_obj = MVM_repr_at_pos_o(tc, tc->instance->event_loop_active, work_idx);
if (REPR(task_obj)->ID != MVM_REPR_ID_MVMAsyncTask)
- MVM_panic(1, "non-AsyncTask fetched from eventloop active work list");
+ MVM_panic(1, "non-AsyncTask fetched from eventloop active work list: was %s", MVM_6model_get_debug_name(tc, task_obj));
return (MVMAsyncTask *)task_obj;
}
else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment