updated logging
This commit is contained in:
parent
474e3c43a7
commit
27b71eb7d6
@ -45,8 +45,8 @@ static void remove_stalled(std::string_view download_id, std::string_view title,
|
|||||||
|
|
||||||
response = cli.Post("/api/{}/command", data.dump(), "application/json");
|
response = cli.Post("/api/{}/command", data.dump(), "application/json");
|
||||||
if (response->status != httplib::StatusCode::OK_200) {
|
if (response->status != httplib::StatusCode::OK_200) {
|
||||||
fmt::println("failed to search radarr|{}|{}", server.url,
|
fmt::println("failed to search radarr|{}|{}|{}|{}", server.url, title,
|
||||||
response->status);
|
movie_id, response->status);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -59,8 +59,8 @@ static void remove_stalled(std::string_view download_id, std::string_view title,
|
|||||||
|
|
||||||
response = cli.Post("/api/{}/command", data.dump(), "application/json");
|
response = cli.Post("/api/{}/command", data.dump(), "application/json");
|
||||||
if (response->status != httplib::StatusCode::OK_200) {
|
if (response->status != httplib::StatusCode::OK_200) {
|
||||||
fmt::println("failed to search sonarr|{}|{}", server.url,
|
fmt::println("failed to search sonarr|{}|{}|{}|{}", server.url, title,
|
||||||
response->status);
|
episode_id, response->status);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user