Ride-The-Lightning / c-lightning-REST

REST APIs for Core Lightning written with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gracefully handle `Unknown command` errors

ShahanaFarooqui opened this issue · comments

If a plugin has been killed for any reason and user still sends the request, CLN returns with error as unknown command which can be confusing to the user like Unknown command 'peerswap-swap-out'. Rather send an error informing the user about the plugin's failure.