mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
mononoke: log resulting cs_id from megarepo calls
Summary: It's useful for debugging Reviewed By: mojsarn Differential Revision: D29960133 fbshipit-source-id: e026b473b4a9fecebe41f2fff22dd57d514e51ab
This commit is contained in:
parent
fce80a62b0
commit
03f5a60109
@ -328,8 +328,11 @@ impl MegarepoApi {
|
||||
ctx.scuba().clone().log_with_msg("Started", None);
|
||||
let res = f.await;
|
||||
match &res {
|
||||
Ok(_) => {
|
||||
ctx.scuba().clone().log_with_msg("Success", None);
|
||||
Ok(cs_id) => {
|
||||
ctx.scuba()
|
||||
.clone()
|
||||
.add("Result", format!("{}", cs_id))
|
||||
.log_with_msg("Success", None);
|
||||
}
|
||||
Err(err) => {
|
||||
ctx.scuba()
|
||||
|
Loading…
Reference in New Issue
Block a user