tnull / ldk-node-hack-server

1 stars 5 forks source link

Display human readable error on decode failures #40

Closed amackillop closed 4 months ago

amackillop commented 4 months ago

This fixes an issue where if you use the wrong route in the client, the server returns b"UNKNOWN REQUEST" and then the client tries to decode these bytes into the expected response proto, which fails. This change allows us to see the error message from the server