mafintosh / hyperdb

Distributed scalable database
MIT License
753 stars 75 forks source link

Catch exceptions thrown when decoding #126

Closed jimpick closed 6 years ago

jimpick commented 6 years ago

Peers with older incompatible hyperdb versions will cause uncaught exceptions when they connect via the swarm.

jimpick commented 6 years ago

Examples of uncaught exceptions:

https://gist.github.com/jimpick/e6e18f07f68dc54c9fe143aba98d4116 https://gist.github.com/jimpick/98805e2a2cf10d880c43a88ea728d52e

jimpick commented 6 years ago

This could use some tests ... this is just a quick patch for my "production" server to keep it from crashing.

mafintosh commented 6 years ago

3.0.1