From c75ad12d4fbc83611e13b48afdded73ce9ed7ddf Mon Sep 17 00:00:00 2001 From: wendrul <53628737+wendrul@users.noreply.github.com> Date: Fri, 1 Nov 2024 01:06:17 +0100 Subject: [PATCH] Clarify message about indexer being EE-only (#4613) --- backend/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index e0a43b7d56..11d12f9dab 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -284,7 +284,8 @@ async fn windmill_main() -> anyhow::Result<()> { tracing::info!("Binary is in 'indexer' mode"); #[cfg(not(feature = "tantivy"))] { - panic!("Indexer mode requires the tantivy feature flag"); + tracing::error!("Cannot start the indexer because tantivy is not included in this binary/image. Make sure you are using the EE image if you want to access the full text search features."); + panic!("Indexer mode requires compiling with the tantivy feature flag."); } #[cfg(feature = "tantivy")] Mode::Indexer