diff --git a/monitarr/monitarr/main.cpp b/monitarr/monitarr/main.cpp index b26f765..4af9a52 100644 --- a/monitarr/monitarr/main.cpp +++ b/monitarr/monitarr/main.cpp @@ -62,10 +62,10 @@ static void remove_stalled(std::string_view download_id, std::string_view title, response = cli.Post(fmt::format("/api/{}/command", server.api_version), data.dump(), "application/json"); if (response->status != httplib::StatusCode::Created_201) { - utils::error::handle_error( - function_name, - fmt::format("failed to search radarr|{}|{}|{}|{}|{}", server.id, - server.url, title, movie_id, response->status)); + utils::error::handle_error(function_name, + fmt::format("failed to search|{}|{}|{}|{}|{}", + server.id, server.url, title, + movie_id, response->status)); } return; } @@ -82,10 +82,10 @@ static void remove_stalled(std::string_view download_id, std::string_view title, response = cli.Post(fmt::format("/api/{}/command", server.api_version), data.dump(), "application/json"); if (response->status != httplib::StatusCode::Created_201) { - utils::error::handle_error( - function_name, - fmt::format("failed to search sonarr|{}|{}|{}|{}|{}", server.id, - server.url, title, episode_id, response->status)); + utils::error::handle_error(function_name, + fmt::format("failed to search|{}|{}|{}|{}|{}", + server.id, server.url, title, + episode_id, response->status)); } }