Fix golangci-lint warning
This commit is contained in:
parent
4339baee85
commit
4a50b42067
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ func (m *MessageCatalog) LookupErrorMessage(
|
|||
localizer *i18n.Localizer,
|
||||
) string {
|
||||
fieldTag := fmt.Sprintf("%s-%s", field, tag)
|
||||
|
||||
message, ok := m.messages[fieldTag]
|
||||
if !ok {
|
||||
m.logger.WithField("field_tag", fieldTag).Info("no specific error message for field and tag")
|
||||
|
|
Loading…
Reference in a new issue