Handle invalid window id more robust
sassman opened this issue · comments
Sven Kanoldt commented
Describe the bug
When using t-rec with an invalid window id like WINDOWID=2417444 t-rec
then no error is shown until you end the recording with CTRL+D. Only then an error like this is shown:
Error: Cannot stop the recording thread
Caused by:
sending on a closed channel
Expected behavior
an error with more details should be shown immediately on start.