fix: remove descriptor error log messages

This commit is contained in:
CJ van den Berg 2025-04-30 14:48:35 +02:00
parent 733831c30e
commit a7b2354ad2
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -756,7 +756,7 @@ pub const file_descriptor = struct {
const Self = @This(); const Self = @This();
pub fn init(tag_: []const u8, fd: i32) !Self { pub fn init(tag_: []const u8, fd: i32) !Self {
return .{ .handle = c.thespian_file_descriptor_create(tag_.ptr, fd) orelse return log_last_error(error.ThespianFileDescriptorInitFailed) }; return .{ .handle = c.thespian_file_descriptor_create(tag_.ptr, fd) orelse return error.ThespianFileDescriptorInitFailed };
} }
pub fn wait_write(self: *const Self) !void { pub fn wait_write(self: *const Self) !void {