add post publish log
This commit is contained in:
parent
3ef14065b1
commit
7d3e973f74
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ async fn main() -> Result<(), anyhow::Error> {
|
||||||
Ok(json) => {
|
Ok(json) => {
|
||||||
if let Err(err) = bluesky_client.post(json).await {
|
if let Err(err) = bluesky_client.post(json).await {
|
||||||
error!("failed to post: {post:?} {err}")
|
error!("failed to post: {post:?} {err}")
|
||||||
|
} else {
|
||||||
|
info!("Published a post! 🦀")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
|
Loading…
Reference in a new issue