We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0486c66 + e9c1b1a commit 631719bCopy full SHA for 631719b
1 file changed
src/tri/eternal_monitor.zig
@@ -132,8 +132,8 @@ pub const EternalMonitor = struct {
132
const monitor = try allocator.create(EternalMonitor);
133
monitor.allocator = allocator;
134
monitor.config = config;
135
- monitor.components = std.ArrayList(SystemComponent).initCapacity(allocator, 16) catch unreachable;
136
- monitor.alerts = std.ArrayList(Alert).initCapacity(allocator, 64) catch unreachable;
+ monitor.components = try std.ArrayList(SystemComponent).initCapacity(allocator, 16);
+ monitor.alerts = try std.ArrayList(Alert).initCapacity(allocator, 64);
137
monitor.metrics = .{};
138
monitor.start_time_ms = timestamp_ms();
139
monitor.running = true;
0 commit comments