🔧 chore: fix link in the logs & add logs for engine error (#170)

This commit is contained in:
neon_arch 2023-08-05 19:16:27 +03:00
parent 246d043e4a
commit 653d08c801
3 changed files with 4 additions and 2 deletions

View file

@ -144,6 +144,7 @@ pub async fn aggregate(
initial = false
}
Err(error_type) => {
log::error!("Engine Error: {:?}", error_type);
engine_errors_info.push(EngineErrorInfo::new(
error_type.downcast_ref::<EngineError>().unwrap(),
upstream_search_engines[counter].clone(),
@ -172,6 +173,7 @@ pub async fn aggregate(
counter += 1
}
Err(error_type) => {
log::error!("Engine Error: {:?}", error_type);
engine_errors_info.push(EngineErrorInfo::new(
error_type.downcast_ref::<EngineError>().unwrap(),
upstream_search_engines[counter].clone(),