Skip to content

Commit

Permalink
Merge pull request #1091 from adituv/1090-fix-error-report-crash
Browse files Browse the repository at this point in the history
Fix crash on error report
  • Loading branch information
3vcloud authored May 19, 2024
2 parents 85a1247 + 41a12e9 commit 383ad49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Modules/SalvageInfoModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace {
void OnWikiContentDownloaded(bool success, const std::string& response, void* wparam) {
auto* info = (SalvageInfo*)wparam;
if (!success) {
Log::Error(std::format("Failed to fetch salvage info. Response: {}", response).c_str());
Log::Error("Failed to fetch salvage info. Response: %s", response.c_str());
info->loading = false;
SignalItemDescriptionUpdated(info->en_name.encoded().c_str());
return;
Expand Down

0 comments on commit 383ad49

Please sign in to comment.