mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 09:50:28 +00:00
be friendly to people using websocat to debug.
This commit is contained in:
@ -63,6 +63,9 @@ void RelayServer::runIngester(ThreadPool<MsgIngester>::Thread &thr) {
|
|||||||
} else {
|
} else {
|
||||||
throw herr("unrecognised yesstr request");
|
throw herr("unrecognised yesstr request");
|
||||||
}
|
}
|
||||||
|
} else if (msg->payload == "\n") {
|
||||||
|
// Do nothing.
|
||||||
|
// This is for when someone is just sending newlines on websocat for debugging purposes.
|
||||||
} else {
|
} else {
|
||||||
throw herr("unparseable message");
|
throw herr("unparseable message");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user