File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ STATIC mp_obj_t task_get_coro(mp_obj_t self_in) {
233
233
STATIC MP_DEFINE_CONST_FUN_OBJ_1 (task_get_coro_obj , task_get_coro );
234
234
235
235
STATIC mp_obj_t task_set_exception (mp_obj_t self_in , const mp_obj_t arg ) {
236
- mp_raise_msg (& mp_type_RuntimeError , MP_ERROR_TEXT ( "Task does not support set_exception operation" ) );
236
+ mp_raise_msg (& mp_type_RuntimeError , NULL );
237
237
}
238
238
STATIC MP_DEFINE_CONST_FUN_OBJ_2 (task_set_exception_obj , task_set_exception );
239
239
@@ -266,7 +266,7 @@ STATIC mp_obj_t task_exception(mp_obj_t self_in) {
266
266
STATIC MP_DEFINE_CONST_FUN_OBJ_1 (task_exception_obj , task_exception );
267
267
268
268
STATIC mp_obj_t task_set_result (mp_obj_t self_in , const mp_obj_t arg ) {
269
- mp_raise_msg (& mp_type_RuntimeError , MP_ERROR_TEXT ( "Task does not support set_result operation" ) );
269
+ mp_raise_msg (& mp_type_RuntimeError , NULL );
270
270
}
271
271
STATIC MP_DEFINE_CONST_FUN_OBJ_2 (task_set_result_obj , task_set_result );
272
272
You can’t perform that action at this time.
0 commit comments