More explicit error

This commit is contained in:
マリウス
2020-10-17 21:13:27 +01:00
parent 2f0218f567
commit 2ecc0a70ca
+1 -1
View File
@@ -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")
}
}