Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed May 30, 2024
1 parent 9995d0f commit 029a92f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ namespace Bannerlord::LauncherManager
}
catch (const Napi::Error &e)
{
const auto stack = e.Value().Get("stack").As<String>();
std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> conv;
return Create(return_value_void{Copy(conv.from_bytes(e.Message()))});
return Create(return_value_void{Copy(stack.Utf16Value())});
}
}
static return_value_json *getLoadOrder(void *p_owner) noexcept
Expand Down

0 comments on commit 029a92f

Please sign in to comment.