mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-29 04:08:12 +08:00
Go CLI: refactor commands (#16447)
### Summary 1. Move debug commands to dev file. 2. Refactor some commands syntax --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -736,7 +736,7 @@ func (c *CLI) Run() error {
|
||||
// the command handlers. Don't echo that back to the operator
|
||||
// verbatim — log the full error server-side for debugging, and
|
||||
// show only the error type/message via a sanitized wrapper.
|
||||
fmt.Printf("CLI error: %s\n", sanitizeCLIError(err))
|
||||
fmt.Printf("ragflow-cli error: %s\n", sanitizeCLIError(err))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user