Skip to content

Commit

Permalink
chore: reduce unnecessary backtrace
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <[email protected]>
  • Loading branch information
zwpaper committed Dec 11, 2024
1 parent 7c6771b commit 80d4869
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ pub async fn get_github_pull_doc(
match octocrab.users(&author).profile().await {
Ok(profile) => profile.email,
Err(e) => {
debug!("Failed to fetch user profile for {}: {}", author, e);
debug!(
"Failed to fetch user profile for {}: {}",
author,
octocrab_error_message(e)

Check warning on line 115 in ee/tabby-webserver/src/service/background_job/third_party_integration/pulls.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/service/background_job/third_party_integration/pulls.rs#L107-L115

Added lines #L107 - L115 were not covered by tests
);
None

Check warning on line 117 in ee/tabby-webserver/src/service/background_job/third_party_integration/pulls.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/service/background_job/third_party_integration/pulls.rs#L117

Added line #L117 was not covered by tests
}
}
Expand Down

0 comments on commit 80d4869

Please sign in to comment.