improve error message for log file not found on ee

This commit is contained in:
Ruben Fiszel
2024-11-25 11:06:19 +01:00
parent 1baf9d008b
commit cd7385f38d
+3 -3
View File
@@ -4760,9 +4760,9 @@ async fn get_log_file(Path((_w_id, file_p)): Path<(String, String)>) -> error::R
)));
}
} else {
return Err(error::Error::InternalErr(
"Object store client not present, cannot stream logs from store".to_string(),
));
return Err(error::Error::InternalErr(format!(
"Object store client not present and file not found on server logs volume at {local_file}"
)));
}
#[cfg(not(all(feature = "enterprise", feature = "parquet")))]