cln/plugins/wss-proxy
Rusty Russell 2c57347033 plugins: wss-proxy should not return invalid JSON if sed does not exist.
We try to do a JSON response if Python is not present, but it assumes sed.  We should cleanly
exit on errors.

Before:

```
$ PATH=/tmp ./plugins/wss-proxy/wss-proxy
Something

./plugins/wss-proxy/wss-proxy: 12: sed: not found
{"jsonrpc":"2.0","id":,"result":{"disable":"No python3 binary found"}}
```

After:

```
$ PATH=/tmp ./plugins/wss-proxy/wss-proxy
something

./plugins/wss-proxy/wss-proxy: 12: sed: not found
```

Reported-by: Christian Decker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-05-02 13:23:41 -07:00
..
wss_proxy plugins/wss-proxy: Adding WSS Proxy plugin 2024-04-22 09:12:09 +09:30
Makefile plugins/wss-proxy: Adding WSS Proxy plugin 2024-04-22 09:12:09 +09:30
poetry.lock build: Update poetry.lock files for CLN and built-in plugins 2025-01-15 10:36:43 -08:00
pyproject.toml meta: update changelog for 25.02 2025-03-04 20:58:46 -06:00
wss-proxy plugins: wss-proxy should not return invalid JSON if sed does not exist. 2025-05-02 13:23:41 -07:00
wss-proxy.py plugins/wss-proxy: Adding WSS Proxy plugin 2024-04-22 09:12:09 +09:30