From e35c7c97007a69df96b8dafe2537b7720c7f9e3d Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Mon, 14 Oct 2024 11:17:14 +0200 Subject: [PATCH] Address feedback --- src/native/pinvoke-override/precompiled.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/native/pinvoke-override/precompiled.cc b/src/native/pinvoke-override/precompiled.cc index a133cee0946..c7496ee2723 100644 --- a/src/native/pinvoke-override/precompiled.cc +++ b/src/native/pinvoke-override/precompiled.cc @@ -28,7 +28,14 @@ PinvokeOverride::monodroid_pinvoke_override (const char *library_name, const cha PinvokeEntry const& e = internal_pinvokes[i]; log_fatal (LOG_ASSEMBLY, "\t'%s'=%p (hash: 0x%zx)", e.name, e.func, e.hash); } - Helpers::abort_application (LOG_ASSEMBLY, "Failure handling a P/Invoke request"); + Helpers::abort_application ( + LOG_ASSEMBLY, + Util::monodroid_strdup_printf ( + "Failure handling a p/invoke request for '%s'@'%s'", + entrypoint_name, + library_name + ) + ); } return entry->func;