Skip to content

Commit 4c3aa31

Browse files
committed
add clarifying error msg
Signed-off-by: Tin Lai <[email protected]>
1 parent 66aad47 commit 4c3aa31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (h *Host) Options() OptionsList {
277277
options = append(options, Option{Name: fieldName, Value: entry})
278278
}
279279
} else {
280-
panic(fmt.Sprintf("Undefined Range type for field '%s'", fieldName))
280+
panic(fmt.Sprintf("Undefined Range type for field '%s'.\nIt must contains either of the following value: [ joinByComma, perLine ]", fieldName))
281281
}
282282
break
283283
default:

0 commit comments

Comments
 (0)