From 08728161ddcfffad8f5b85f87416bb881fc81764 Mon Sep 17 00:00:00 2001 From: yuzu Date: Fri, 16 May 2025 11:36:28 -0500 Subject: [PATCH] fix --- src/shard/shard.zig | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/shard/shard.zig b/src/shard/shard.zig index 09b43c5..034fd44 100644 --- a/src/shard/shard.zig +++ b/src/shard/shard.zig @@ -418,15 +418,6 @@ pub fn connect(self: *Self) ConnectError!void { net.Stream.ReadError.NotOpenForReading => { std.debug.panic("Shard {d}: Stream closed unexpectedly", .{self.id}); // still check your intents }, - // debug this further - error.DataError => |e| { - std.debug.panic("Shard {d} DATA ERROR: panicked with error {s} code {d} in thread {any}", .{ - self.id, - @errorName(e), - @intFromError(e), - std.Thread.getCurrentId(), - }); - }, else => { // log that the connection died, but don't stop the bot self.logif("Shard {d} closed with error: {s}", .{self.id, @errorName(err)});