Skip to content

Commit

Permalink
chore: revert panic in simapp (cosmos#15367)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Mar 13, 2023
1 parent f5e783c commit 734b384
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion simd/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package main

import (
"os"

"cosmossdk.io/log"
"cosmossdk.io/simapp"
"cosmossdk.io/simapp/simd/cmd"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
Expand All @@ -9,6 +12,7 @@ import (
func main() {
rootCmd := cmd.NewRootCmd()
if err := svrcmd.Execute(rootCmd, "", simapp.DefaultNodeHome); err != nil {
panic(err)
log.NewLogger(rootCmd.OutOrStderr()).Error("failure when running app", "err", err)
os.Exit(1)
}
}

0 comments on commit 734b384

Please sign in to comment.