mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Formatted src/web_client
This commit is contained in:
@@ -60,8 +60,8 @@ std::string HttpWebClient::Get(const std::string& url) {
|
|||||||
.message = std::format(
|
.message = std::format(
|
||||||
"[HttpWebClient] Request failed for URL: {}", url)});
|
"[HttpWebClient] Request failed for URL: {}", url)});
|
||||||
}
|
}
|
||||||
throw std::runtime_error(std::format("[HttpWebClient] HTTP {} for URL: {}",
|
throw std::runtime_error(std::format(
|
||||||
result->status, url));
|
"[HttpWebClient] HTTP {} for URL: {}", result->status, url));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result->body;
|
return result->body;
|
||||||
|
|||||||
Reference in New Issue
Block a user