downgrade gix log level to info (#6915)

This commit is contained in:
Pascal Kuthe 2023-04-30 16:20:13 +02:00 committed by GitHub
parent f2ccc03332
commit 77da0ae8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,8 @@ pub fn get_diff_base(&self, file: &Path) -> Option<Vec<u8>> {
.find_map(|provider| match provider.get_diff_base(file) {
Ok(res) => Some(res),
Err(err) => {
log::error!("{err:#?}");
log::error!("failed to open diff base for {}", file.display());
log::info!("{err:#?}");
log::info!("failed to open diff base for {}", file.display());
None
}
})
@ -59,8 +59,8 @@ pub fn get_current_head_name(&self, file: &Path) -> Option<Arc<ArcSwap<Box<str>>
.find_map(|provider| match provider.get_current_head_name(file) {
Ok(res) => Some(res),
Err(err) => {
log::error!("{err:#?}");
log::error!("failed to obtain current head name for {}", file.display());
log::info!("{err:#?}");
log::info!("failed to obtain current head name for {}", file.display());
None
}
})