Skip to content

Commit a4a5b7c

Browse files
committed
add debugging
1 parent 3a87da4 commit a4a5b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testexternalinspection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ parse_task_name(
713713
}
714714

715715
if(!(flags & Py_TPFLAGS_UNICODE_SUBCLASS)) {
716-
PyErr_SetString(PyExc_RuntimeError, "Invalid task name object");
716+
PyErr_Format(PyExc_RuntimeError, "Task name is neither a string nor a long: %d", flags);
717717
return NULL;
718718
}
719719

0 commit comments

Comments
 (0)