summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/client.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/client.go b/client/client.go
index 31110bd..3d059df 100644
--- a/client/client.go
+++ b/client/client.go
@@ -296,6 +296,10 @@ func (c *Client) ExpiryTimes() (*srvtypes.Expiry, error) {
return nil, err
}
+ if b.StartTime.IsZero() {
+ return nil, errors.New("start time is zero, did you get a configuration?")
+ }
+
bT := b.RenewButtonTime()
cT := b.CountdownTime()
nT := b.NotificationTimes()