From a3187f14df6153be0516d5d5dafa1278db919c41 Mon Sep 17 00:00:00 2001 From: Katelyn Gadd Date: Tue, 28 Jul 2020 04:14:04 -0700 Subject: [PATCH] Update threadpool callback error messages to fix #38803 --- src/mono/mono/mini/mini-wasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mono/mono/mini/mini-wasm.c b/src/mono/mono/mini/mini-wasm.c index 3b914a03fddfea..e60d77f492506b 100644 --- a/src/mono/mono/mini/mini-wasm.c +++ b/src/mono/mono/mini/mini-wasm.c @@ -604,13 +604,13 @@ tp_cb (void) mono_runtime_try_invoke (method, NULL, NULL, &exc, error); if (!is_ok (error)) { - printf ("tp callback failed due to %s\n", mono_error_get_message (error)); + printf ("ThreadPool Callback failed due to error: %s\n", mono_error_get_message (error)); mono_error_cleanup (error); } if (exc) { char *type_name = mono_type_get_full_name (mono_object_class (exc)); - printf ("tp callback threw a %s\n", type_name); + printf ("ThreadPool Callback threw an unhandled exception of type %s\n", type_name); g_free (type_name); } }