Update error pattern message for SSH connection failure to enhance clarity
This commit is contained in:
@@ -41,7 +41,7 @@ local SSH_PORT = tonumber(getenv("SSH_PORT", "22"))
|
|||||||
local SSH_IDENTITY_FILE = getenv("SSH_IDENTITY_FILE", "/root/.ssh/id_rsa") -- e.g. "/path/to/id_rsa"
|
local SSH_IDENTITY_FILE = getenv("SSH_IDENTITY_FILE", "/root/.ssh/id_rsa") -- e.g. "/path/to/id_rsa"
|
||||||
local ERROR_PATTERN = getenv(
|
local ERROR_PATTERN = getenv(
|
||||||
"ERROR_PATTERN",
|
"ERROR_PATTERN",
|
||||||
("connect EHOSTUNREACH %s:%d"):format(OLLAMA_HOST, OLLAMA_PORT)
|
("[ERROR] Document analysis failed: connect EHOSTUNREACH %s:%d"):format(OLLAMA_HOST, OLLAMA_PORT)
|
||||||
)
|
)
|
||||||
local FINISH_PATTERN = getenv("FINISH_PATTERN", "[DEBUG] Finished fetching. Found 0 documents.") -- e.g. "Server started"
|
local FINISH_PATTERN = getenv("FINISH_PATTERN", "[DEBUG] Finished fetching. Found 0 documents.") -- e.g. "Server started"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user