mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated filters error message
This commit is contained in:
committed by
Dan Christian Bogos
parent
7a93429198
commit
e98a825b8f
@@ -489,7 +489,7 @@ func (fS *FilterS) getFieldNameDataProvider(initialDP utils.DataProvider,
|
||||
// don't need to take out the prefix because the navigable map have ~*req prefix
|
||||
case fieldName == utils.EmptyString:
|
||||
default:
|
||||
return nil, utils.ErrPrefixNotFound(fmt.Sprintf(" data provider prefix for <%s>", fieldName))
|
||||
return nil, fmt.Errorf("filter path: <%s> doesn't have a valid prefix", fieldName)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user