forked from TrueCloudLab/frostfs-node
Compare commits
2 commits
fbc4d8e221
...
80f8a8fd3a
Author | SHA1 | Date | |
---|---|---|---|
80f8a8fd3a | |||
2f3bc6eb84 |
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ func (repl *policyPlaygroundREPL) run() error {
|
|||
AutoComplete: policyPlaygroundCompleter,
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Println("error initializing readline:", err)
|
||||
return fmt.Errorf("error initializing readline: %w", err)
|
||||
}
|
||||
defer rl.Close()
|
||||
|
||||
|
@ -221,7 +221,7 @@ func (repl *policyPlaygroundREPL) run() error {
|
|||
exit = true
|
||||
continue
|
||||
}
|
||||
return fmt.Errorf("reading line: %v", err)
|
||||
return fmt.Errorf("reading line: %w", err)
|
||||
}
|
||||
exit = false
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue