Skip to content

Commit

Permalink
do panic - to exit with correct code #3886
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Apr 15, 2022
1 parent ef14176 commit 9d24553
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/erigon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"os"

"github.com/ledgerwatch/erigon/common/debug"
"github.com/ledgerwatch/erigon/params"
erigonapp "github.com/ledgerwatch/erigon/turbo/app"
erigoncli "github.com/ledgerwatch/erigon/turbo/cli"
Expand All @@ -14,7 +13,6 @@ import (
)

func main() {
defer debug.LogPanic()
app := erigonapp.MakeApp(runErigon, erigoncli.DefaultFlags)
if err := app.Run(os.Args); err != nil {
fmt.Fprintln(os.Stderr, err)
Expand Down

0 comments on commit 9d24553

Please sign in to comment.