mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
more debugging
This commit is contained in:
@@ -582,7 +582,7 @@ func (mb *MinuteBucket) Store() (result string, err error) {
|
||||
func (mb *MinuteBucket) Restore(input string) error {
|
||||
elements := strings.Split(strings.TrimSpace(input), ";")
|
||||
if len(elements) > 0 && len(elements) != 5 {
|
||||
return notEnoughElements("MinuteBucket!!", input)
|
||||
return notEnoughElements(fmt.Sprintf("MinuteBucket: %v %v", elements, len(elements)), input)
|
||||
}
|
||||
mb.Seconds, _ = strconv.ParseFloat(elements[0], 64)
|
||||
mb.Weight, _ = strconv.ParseFloat(elements[1], 64)
|
||||
|
||||
Reference in New Issue
Block a user