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.