downgrade gix log level to info (#6915)

pull/6919/head
Pascal Kuthe 2 years ago committed by GitHub
parent f2ccc03332
commit 77da0ae8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,8 +46,8 @@ impl DiffProviderRegistry {
.find_map(|provider| match provider.get_diff_base(file) { .find_map(|provider| match provider.get_diff_base(file) {
Ok(res) => Some(res), Ok(res) => Some(res),
Err(err) => { Err(err) => {
log::error!("{err:#?}"); log::info!("{err:#?}");
log::error!("failed to open diff base for {}", file.display()); log::info!("failed to open diff base for {}", file.display());
None None
} }
}) })
@ -59,8 +59,8 @@ impl DiffProviderRegistry {
.find_map(|provider| match provider.get_current_head_name(file) { .find_map(|provider| match provider.get_current_head_name(file) {
Ok(res) => Some(res), Ok(res) => Some(res),
Err(err) => { Err(err) => {
log::error!("{err:#?}"); log::info!("{err:#?}");
log::error!("failed to obtain current head name for {}", file.display()); log::info!("failed to obtain current head name for {}", file.display());
None None
} }
}) })

Loading…
Cancel
Save