summaryrefslogtreecommitdiffstats
path: root/src/web_service
diff options
context:
space:
mode:
authorVortex <c.vamsi.krishna.96@gmail.com>2021-06-18 20:48:53 +0200
committerVortex <c.vamsi.krishna.96@gmail.com>2021-06-18 22:48:58 +0200
commite704da91929b06e5d65959c78e88e570d707a773 (patch)
tree1af9218fd2b480ce68f14fa12a4f1415ca1a82c4 /src/web_service
parentMerge pull request #6484 from CaptV0rt3x/discord-rpc (diff)
downloadyuzu-e704da91929b06e5d65959c78e88e570d707a773.tar
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.gz
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.bz2
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.lz
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.xz
yuzu-e704da91929b06e5d65959c78e88e570d707a773.tar.zst
yuzu-e704da91929b06e5d65959c78e88e570d707a773.zip
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/web_backend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp
index 67183e64c..e04f7dfc6 100644
--- a/src/web_service/web_backend.cpp
+++ b/src/web_service/web_backend.cpp
@@ -100,8 +100,9 @@ struct Client::Impl {
request.body = data;
httplib::Response response;
+ httplib::Error error;
- if (!cli->send(request, response)) {
+ if (!cli->send(request, response, error)) {
LOG_ERROR(WebService, "{} to {} returned null", method, host + path);
return WebResult{WebResult::Code::LibError, "Null response", ""};
}