refactor: Update get calls and clean up debug

- Add `create: true` to get calls
- Remove commented-out print_backtrace
- Remove debug print for socket closure
This commit is contained in:
Mahmoud-Emad
2025-11-20 14:00:29 +02:00
parent 41e3d2afe4
commit 26528a889d
6 changed files with 19 additions and 16 deletions

View File

@@ -33,8 +33,6 @@ pub fn (mut t UnixSocketTransport) send(request string, params SendParams) !stri
// Close the socket explicitly
unix.shutdown(socket.sock.handle)
socket.close() or {}
// print_backtrace()
console.print_debug('The server did not close the socket, we did timeout or there was other error.')
}
// Set timeout if specified