This commit is contained in:
Captain ALM 2024-09-26 22:22:10 +01:00
parent 6da8290c04
commit 968917bb84
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -354,7 +354,7 @@ type Time time.Time
func (t *Time) UnmarshalText(b []byte) error {
tt, err := http.ParseTime(string(b))
if err != nil {
return errors.Join(err, errors.New("time_data : "+base64.StdEncoding.EncodeToString(b)))
return errors.New(err.Error() + " : time_data : " + base64.StdEncoding.EncodeToString(b))
}
*t = Time(tt)
return nil