More explicit error
This commit is contained in:
parent
2f0218f567
commit
2ecc0a70ca
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func ParseTime(timeStr string) (time.Time, error) {
|
|||
case TFRelHourMinute, TFRelHourFraction:
|
||||
return RelToTime(timeStr, tfId)
|
||||
default:
|
||||
return time.Now(), errors.New("No match")
|
||||
return time.Now(), errors.New("could not match passed time")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue