Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Oct 18, 2024
1 parent cce96f3 commit df34a67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,12 @@ func (app *App) Close() error {
}

err := stderrors.Join(errs...)
app.Logger().Info("Application gracefully shutdown", "error", err)
msg := "Application gracefully shutdown"
if err == nil {
app.Logger().Info(msg)
} else {
app.Logger().Error(msg, "error", err)
}
return err
}

Expand Down
3 changes: 3 additions & 0 deletions integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ def test_local_statesync(cronos, tmp_path_factory):
Path(home) / "config/app.toml",
base_port,
{
"json-rpc": {
"address": "127.0.0.1:26671",
},
"versiondb": {
"enable": True,
},
Expand Down

0 comments on commit df34a67

Please sign in to comment.