diff --git a/runtime/coreclr-bridge.m b/runtime/coreclr-bridge.m index 8b846a3cf015..0999a9b318fb 100644 --- a/runtime/coreclr-bridge.m +++ b/runtime/coreclr-bridge.m @@ -64,8 +64,8 @@ if (method == NULL) method = " %s\n", method, gchandle, [xamarin_print_all_exceptions (gchandle) UTF8String]); + xamarin_assertion_message ("%s threw an exception: %p = %s", method, gchandle, [xamarin_print_all_exceptions (gchandle) UTF8String]); } typedef void (*xamarin_runtime_initialize_decl)(struct InitializationOptions* options);