[client,x11] log fuse_session_loop errors

This commit is contained in:
Armin Novak 2023-02-21 14:15:35 +01:00 committed by akallabeth
parent 68d3bcb99a
commit fe3de9b9bf
1 changed files with 2 additions and 0 deletions

View File

@ -3114,6 +3114,8 @@ static DWORD WINAPI xf_cliprdr_fuse_thread(LPVOID arg)
{
fuse_session_add_chan(clipboard->fuse_sess, ch);
const int err = fuse_session_loop(clipboard->fuse_sess);
if (err != 0)
WLog_WARN(TAG, "fuse_session_loop failed with %d", err);
fuse_session_remove_chan(ch);
fuse_session_destroy(clipboard->fuse_sess);
}