Skip to content

Commit

Permalink
feat: print error more verbosely
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 13, 2024
1 parent edd0793 commit c4f98f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ pub async fn answer(bot: Bot, msg: Message, cmd: Command, pool: DbPool) -> Respo
bot_send_message_handle_length(
&bot,
&msg,
&format!("Failed to create github comments: {err}."),
&format!("Failed to create github comments: {err:?}."),
)
.await?;
}
Expand All @@ -515,7 +515,7 @@ pub async fn answer(bot: Bot, msg: Message, cmd: Command, pool: DbPool) -> Respo
bot_send_message_handle_length(
&bot,
&msg,
&format!("Failed to get pr info: {err}."),
&format!("Failed to get pr info: {err:?}."),
)
.await?;
}
Expand Down

0 comments on commit c4f98f6

Please sign in to comment.