From 674752a19fbed8991d381ae3525f1321579ba10e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 8 Apr 2022 10:13:00 -0400 Subject: [PATCH] fix: address confusing error message with SetOrder* functions (#11571) (#11581) --- types/module/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/module/module.go b/types/module/module.go index c1955c8b8498..16695db09b22 100644 --- a/types/module/module.go +++ b/types/module/module.go @@ -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)) } }