gun icon indicating copy to clipboard operation
gun copied to clipboard

ack.err is sometimes an empty object on a put()

Open labs-dlugo opened this issue 4 years ago • 1 comments

Version: 97aa976c97e6219a9f93095d32c220dcd371ca62

Usually ack.err is an string or a number (clock skew).

But we've been getting just now empty objects ({}).

E.g.

gun.get('foo').get('baz').put('bar', ack => {
  const err = JSON.stringify(ack.err)
  assert(err === '{}')
})

labs-dlugo avatar Sep 13 '21 14:09 labs-dlugo

oh @danlugo92 sorry I guess github not notifying me anymore, didn't know you had posted htis 7 days ago, :P I hope how fast I replied in chat ... today, when you mentioned it, was helpful :P. Please reference that.

amark avatar Sep 20 '21 05:09 amark