From 97469e3e43f9ef65e9ec13f9758ba0d78732cf1a Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Sun, 5 May 2019 16:42:39 +0200 Subject: [PATCH] log on error --- src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ff36869..2cd19a6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include #include + #include "API.h" #include "Logger.h" @@ -9,7 +10,6 @@ int main() { std::string ip = api.request("https://api.ipify.org"); - std::cout << "ip is: " << ip <