fix: address confusing error message with SetOrder* functions (#11571)
This commit is contained in:
parent
5cbdad3584
commit
ce0361d714
|
@ -368,7 +368,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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue