mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
handle errors from exportrequest fields in ees
This commit is contained in:
committed by
Dan Christian Bogos
parent
4cba4a699d
commit
692279ef8b
@@ -330,6 +330,9 @@ func exportEventWithExporter(exp EventExporter, ev *utils.CGREvent, oneTime bool
|
||||
filterS, map[string]*utils.OrderedNavigableMap{
|
||||
utils.MetaExp: expNM,
|
||||
}).SetFields(exp.Cfg().ContentFields())
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to populate ExportRequest fields: %v", err)
|
||||
}
|
||||
if eEv, err = exp.PrepareOrderMap(expNM); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user