Skip to content

Commit 2da676e

Browse files
author
Devdutt Shenoi
committed
doc: improve error message
1 parent 0a30994 commit 2da676e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

server/src/handlers/http/modal/ingest_server.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ impl ParseableServer for IngestServer {
8585
// parseable can't use local storage for persistence when running a distributed setup
8686
if CONFIG.get_storage_mode_string() == "Local drive" {
8787
return Err(anyhow::Error::msg(
88-
// Error Message can be better
89-
"Ingest Server cannot be started in local storage mode. Please start the server in a supported storage mode.",
88+
"This instance of the Parseable server has been configured to run in a distributed setup, it doesn't support local storage.",
9089
));
9190
}
9291

server/src/handlers/http/modal/query_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl ParseableServer for QueryServer {
7272
// parseable can't use local storage for persistence when running a distributed setup
7373
if CONFIG.get_storage_mode_string() == "Local drive" {
7474
return Err(anyhow::anyhow!(
75-
"Query Server cannot be started in local storage mode. Please start the server in a supported storage mode.",
75+
"This instance of the Parseable server has been configured to run in a distributed setup, it doesn't support local storage.",
7676
));
7777
}
7878

0 commit comments

Comments
 (0)