Tribler / kotlin-ipv8

P2P communication library for Android
59 stars 27 forks source link

Suppressing stack trace on PacketDecodingException #49

Closed devos50 closed 1 year ago

devos50 commented 3 years ago

Since the Kotlin IPv8 implementation does communicate with older (Dispersy) versions, it can happen that it receives a message with an invalid prefix. This PR changes this behaviour slightly such that receiving an invalid message will not spam the log with tracebacks.

Fixes #48

github-actions[bot] commented 1 year ago
File Coverage [84.95%] :green_apple:
Community.kt 84.95% :green_apple:
Total Project Coverage 62.99% :green_apple:
InvictusRMC commented 1 year ago

Thanks @devos50! 😄