[wasm-shape] Debug message

This commit is contained in:
Behdad Esfahbod 2023-02-25 10:48:41 -07:00
parent 91eb2f49db
commit d894a10699
1 changed files with 3 additions and 0 deletions

View File

@ -348,7 +348,10 @@ retry:
DEBUG_MSG (WASM, module_inst, "Calling shape() failed: %s", DEBUG_MSG (WASM, module_inst, "Calling shape() failed: %s",
wasm_runtime_get_exception (module_inst)); wasm_runtime_get_exception (module_inst));
if (retried) if (retried)
{
DEBUG_MSG (WASM, font, "Giving up...");
goto fail; goto fail;
}
buffer->successful = true; buffer->successful = true;
retried = true; retried = true;
release_shape_plan (face_data, plan); release_shape_plan (face_data, plan);