Skip to content

Commit

Permalink
Fix error message printed if there's a missing context for get runtim…
Browse files Browse the repository at this point in the history
…e delegate call in hostfxr (dotnet#92364)
  • Loading branch information
vitek-karas authored Sep 21, 2023
1 parent aba7c43 commit 9cdc0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/corehost/fxr/hostfxr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ SHARED_API int32_t HOSTFXR_CALLTYPE hostfxr_get_runtime_delegate(
context = fx_muxer_t::get_active_host_context();
if (context == nullptr)
{
trace::error(_X("Hosting components context has not been initialized. Cannot get runtime properties."));
trace::error(_X("Hosting components context has not been initialized. Cannot get runtime delegate."));
return StatusCode::HostInvalidState;
}
}
Expand Down

0 comments on commit 9cdc0cd

Please sign in to comment.