diff options
| author | xengineering <me@xengineering.eu> | 2026-03-22 10:26:42 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-22 10:26:42 +0100 |
| commit | 992320029e1375b0fd9caa95573881732161719f (patch) | |
| tree | dc114e9283aa6fcacd4312d6d106b7ce453056ba /tools | |
| parent | e7f93692e0c605311c9e8568488e8bb416115319 (diff) | |
| download | sia-server-992320029e1375b0fd9caa95573881732161719f.tar sia-server-992320029e1375b0fd9caa95573881732161719f.tar.zst sia-server-992320029e1375b0fd9caa95573881732161719f.zip | |
tools: websocket: Add empty line before RX log
This makes it easier to distinguish the JSON messages visually.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/websocket.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/websocket.go b/tools/websocket.go index 31c39fb..594cb1b 100644 --- a/tools/websocket.go +++ b/tools/websocket.go @@ -87,6 +87,7 @@ func rx(c *websocket.Conn) { log.Println("read:", err) return } + log.Println("") log.Println(quote(prettify(string(message)), "< ")) } } |
