diff --git a/extmod/foundation/modfoundation-ur.h b/extmod/foundation/modfoundation-ur.h index 0f9ccf013..f17e2c32f 100644 --- a/extmod/foundation/modfoundation-ur.h +++ b/extmod/foundation/modfoundation-ur.h @@ -52,7 +52,7 @@ STATIC NORETURN void mod_foundation_ur_raise(UR_Error *error) { type = &mp_type_UnsupportedError; break; case UR_ERROR_KIND_NOT_MULTI_PART: - type = &mp_type_UnsupportedError; + type = &mp_type_NotMultiPartError; break; default: type = &mp_type_RuntimeError;