mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Modified errors output
This commit is contained in:
committed by
Dan Christian Bogos
parent
a7352a02bf
commit
4414c54810
@@ -349,10 +349,10 @@ func (eeS *EeS) V1ArchiveEventsInReply(ctx *context.Context, args *ArchiveEvents
|
||||
return fmt.Errorf("exporter config with ID: %s is missing", expID)
|
||||
}
|
||||
if !eesCfg.Synchronous {
|
||||
return fmt.Errorf("exporter with ID: %q is not synchronous", expID)
|
||||
return fmt.Errorf("exporter with ID: %s is not synchronous", expID)
|
||||
}
|
||||
if eesCfg.ExportPath != utils.MetaBuffer {
|
||||
return fmt.Errorf("exporter with ID: %q has an invalid ExportPath for archiving", expID)
|
||||
return fmt.Errorf("exporter with ID: %s has an invalid ExportPath for archiving", expID)
|
||||
}
|
||||
var dc *utils.SafeMapStorage
|
||||
if dc, err = newEEMetrics(utils.FirstNonEmpty(
|
||||
|
||||
Reference in New Issue
Block a user