treewide: replace {:#?}
with {:?}
Cleans up logging output so that things that belong together stay together.
This commit is contained in:
parent
e26497e49d
commit
5c1a85ca31
|
@ -197,11 +197,11 @@ impl GithubAppVendingMachine {
|
|||
|
||||
match lookup_gh.app().find_repo_installation(owner, repo) {
|
||||
Ok(install_id) => {
|
||||
debug!("Received install ID {:#?}", install_id);
|
||||
debug!("Received install ID {:?}", install_id);
|
||||
Some(install_id.id)
|
||||
}
|
||||
Err(e) => {
|
||||
warn!("Error during install ID lookup: {:#?}", e);
|
||||
warn!("Error during install ID lookup: {:?}", e);
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,7 +155,7 @@ impl Error {
|
|||
}
|
||||
}
|
||||
Error::UncleanEvaluation(warnings) => {
|
||||
format!("nix-env did not evaluate cleanly:\n {:#?}", warnings)
|
||||
format!("nix-env did not evaluate cleanly:\n {:?}", warnings)
|
||||
}
|
||||
Error::StatsParse(mut fd, seek, parse_err) => {
|
||||
let mut buffer = Vec::new();
|
||||
|
|
|
@ -575,7 +575,7 @@ fn request_reviews(maint: &maintainers::ImpactedMaintainers, pull: &hubcaps::pul
|
|||
team_reviewers: vec![],
|
||||
})
|
||||
{
|
||||
println!("Failure requesting a review from {}: {:#?}", maintainer, e,);
|
||||
println!("Failure requesting a review from {}: {:?}", maintainer, e,);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -211,7 +211,7 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
|
|||
match eval_result {
|
||||
EvalWorkerError::CommitStatusWrite(e) => {
|
||||
eprintln!(
|
||||
"Failed to write commit status, got error: {:#?}, marking internal error",
|
||||
"Failed to write commit status, got error: {:?}, marking internal error",
|
||||
e
|
||||
);
|
||||
let issue_ref = self.repo.issue(self.job.pr.number);
|
||||
|
@ -219,7 +219,7 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
|
|||
}
|
||||
EvalWorkerError::EvalError(eval::Error::CommitStatusWrite(e)) => {
|
||||
eprintln!(
|
||||
"Failed to write commit status, got error: {:#?}, marking internal error",
|
||||
"Failed to write commit status, got error: {:?}, marking internal error",
|
||||
e
|
||||
);
|
||||
let issue_ref = self.repo.issue(self.job.pr.number);
|
||||
|
@ -228,7 +228,7 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
|
|||
EvalWorkerError::EvalError(eval::Error::Fail(msg)) => {
|
||||
self.update_status(msg.clone(), None, hubcaps::statuses::State::Failure)
|
||||
.unwrap_or_else(|e| {
|
||||
panic!("Failed to set plain status: {}; e: {:#?}", msg, e);
|
||||
panic!("Failed to set plain status: {}; e: {:?}", msg, e);
|
||||
});
|
||||
}
|
||||
EvalWorkerError::EvalError(eval::Error::FailWithGist(msg, filename, content)) => {
|
||||
|
@ -239,7 +239,7 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
|
|||
)
|
||||
.unwrap_or_else(|e| {
|
||||
panic!(
|
||||
"Failed to set status with a gist: {}, {}, {}; e: {:#?}",
|
||||
"Failed to set status with a gist: {}, {}, {}; e: {:?}",
|
||||
msg, filename, content, e
|
||||
);
|
||||
});
|
||||
|
@ -469,7 +469,7 @@ fn schedule_builds(
|
|||
) -> Vec<worker::Action> {
|
||||
let mut response = vec![];
|
||||
info!(
|
||||
"Scheduling build jobs {:#?} on arches {:#?}",
|
||||
"Scheduling build jobs {:?} on arches {:?}",
|
||||
builds, auto_schedule_build_archs
|
||||
);
|
||||
for buildjob in builds {
|
||||
|
|
Loading…
Reference in a new issue