Skip to content

Commit

Permalink
fix: address confusing error message with SetOrder* functions (cosmos…
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored and randy75828 committed Aug 10, 2022
1 parent 753d095 commit 674752a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (m *Manager) assertNoForgottenModules(setOrderFnName string, moduleNames []
}
if len(missing) != 0 {
panic(fmt.Sprintf(
"%s: all modules must be defined when setting SetOrderMigrations, missing: %v", setOrderFnName, missing))
"%s: all modules must be defined when setting %s, missing: %v", setOrderFnName, setOrderFnName, missing))
}
}

Expand Down

0 comments on commit 674752a

Please sign in to comment.