Fix another logging call
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-03-18 22:13:39 +01:00
parent 2cda6afee9
commit 3c6a5ac4d0

View File

@ -176,7 +176,7 @@ func (handler *subscriptionHandler) handleSubscription(w http.ResponseWriter, r
if validateURL(validationURL.String(), ourChallenge) {
log.Printf("subscribe: validation valid\n")
err = handler.store.Subscribe(topicURL.String(), storage.Subscriber{callbackURL.String(), leaseSeconds, secret, time.Now()})
log.Println("saving suscriber failed: %v", err)
log.Printf("saving suscriber failed: %v", err)
} else {
log.Printf("subscribe: validation failed\n")
}