report success on post

main
HeNine 2 years ago
parent d45f97f4bb
commit 5436373ebd

@ -155,6 +155,8 @@ async fn main() {
Ok(response) => {
if response.status() != 200 {
log::error!("Send status error code: {}", response.status())
} else {
log::info!("Status posted.")
}
}
Err(err) => {

Loading…
Cancel
Save