Skip to content

Commit

Permalink
Fix error format in neofs-adm (#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Sep 25, 2024
2 parents 422dc92 + 4a325a5 commit f7efbe0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/neofs-adm/main.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
package main

import (
"fmt"

"github.com/nspcc-dev/neofs-node/cmd/internal/cmderr"
"github.com/nspcc-dev/neofs-node/cmd/neofs-adm/internal/modules"
)

func main() {
err := modules.Execute()
cmderr.ExitOnErr(err)
if err != nil {
cmderr.ExitOnErr(fmt.Errorf("Error: %w\n", err))
}
}

0 comments on commit f7efbe0

Please sign in to comment.