Skip to content

Commit 7461251

Browse files
committed
Use more specific error message in Zulip workqueue handling
1 parent 75615ea commit 7461251

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/zulip.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ async fn workqueue_commands(
281281
login: gh_username.clone(),
282282
id: gh_id,
283283
};
284-
let review_prefs = get_review_prefs(&db_client, gh_id).await?;
284+
let review_prefs = get_review_prefs(&db_client, gh_id)
285+
.await
286+
.context("Unable to retrieve your review preferences.")?;
285287

286288
let response = match subcommand {
287289
"show" => {

0 commit comments

Comments
 (0)