From 12567c68b0e11cc58d17902356d441ad7389f1af Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Thu, 22 Jun 2023 11:58:44 +0200 Subject: [PATCH] logging: upload: print url to console --- src/logging.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/logging.cpp b/src/logging.cpp index 5f1166b5..97088506 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -42,6 +42,7 @@ static void upload_file(std::string logFile){ command += " | grep Location | cut -c11-"; std::string url = exec(command); + std::cout << "upload url: " << url; exec("xdg-open " + url); } @@ -52,6 +53,7 @@ static void upload_files(const std::vector& logFiles){ command += " | grep Location | cut -c11-"; std::string url = exec(command); + std::cout << "upload url: " << url; exec("xdg-open " + url); }