diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js index f806d70b99c76a..b3fbba0596d736 100644 --- a/lib/_tls_wrap.js +++ b/lib/_tls_wrap.js @@ -64,7 +64,8 @@ function onhandshakestart(now) { debug('onhandshakestart'); const { lastHandshakeTime } = this; - assert(now >= lastHandshakeTime); + assert(now >= lastHandshakeTime, + `now (${now}) < lastHandshakeTime (${lastHandshakeTime})`); this.lastHandshakeTime = now;