diff --git a/monitarr/monitarr/main.cpp b/monitarr/monitarr/main.cpp index 16d3d43..c8dae72 100644 --- a/monitarr/monitarr/main.cpp +++ b/monitarr/monitarr/main.cpp @@ -39,7 +39,8 @@ static void remove_stalled(std::string_view download_id, std::string_view title, server.api_version, utils::string::split(download_id, '/', false).at(1U))); if (response->status != httplib::StatusCode::OK_200) { - fmt::println("remove and block result|{}|{}", server.url, response->status); + fmt::println("failed to delete download|{}|{}|{}", server.id, server.url, + response->status); return; } @@ -51,8 +52,8 @@ static void remove_stalled(std::string_view download_id, std::string_view title, response = cli.Post("/api/{}/command", data.dump(), "application/json"); if (response->status != httplib::StatusCode::OK_200) { - fmt::println("failed to search radarr|{}|{}|{}|{}", server.url, title, - movie_id, response->status); + fmt::println("failed to search radarr|{}|{}|{}|{}|{}", server.id, + server.url, title, movie_id, response->status); } return; } @@ -65,8 +66,8 @@ static void remove_stalled(std::string_view download_id, std::string_view title, response = cli.Post("/api/{}/command", data.dump(), "application/json"); if (response->status != httplib::StatusCode::OK_200) { - fmt::println("failed to search sonarr|{}|{}|{}|{}", server.url, title, - episode_id, response->status); + fmt::println("failed to search sonarr|{}|{}|{}|{}|{}", server.id, + server.url, title, episode_id, response->status); } return; }