temporarily let it crash until I can fix
All checks were successful
Generic zig build / build (push) Successful in 21s
All checks were successful
Generic zig build / build (push) Successful in 21s
This commit is contained in:
parent
14651732e4
commit
29e8df571f
1 changed files with 3 additions and 1 deletions
|
|
@ -226,7 +226,9 @@ const SpeechHandler = struct {
|
||||||
}
|
}
|
||||||
try writer.print("\n\tSuggestion: {s}", .{suggestion});
|
try writer.print("\n\tSuggestion: {s}", .{suggestion});
|
||||||
}
|
}
|
||||||
|
if (std.mem.eql(u8, error_info.message, "Audio buffer overflow, clearing buffer to prevent data loss")) {
|
||||||
|
@panic("fatal error");
|
||||||
|
}
|
||||||
if (error_info.recoverable)
|
if (error_info.recoverable)
|
||||||
try writer.print("\n\tStatus: Recoverable - system will attempt to continue", .{})
|
try writer.print("\n\tStatus: Recoverable - system will attempt to continue", .{})
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue