chore: cover panic error

This commit is contained in:
huzibaca committed 2024-09-25 15:44:05 +08:00
1 parent b350b605a8
commit 0bacfa9286
1 file changed
+5
+5
View File
@@ -19,6 +19,11 @@ pub fn redirect_panic_to_log() {
&format!("{:?}", payload)
};
//TODO skip this error
if payload.contains("PostMessage failed ; is the messages queue full?") {
return;
}
let location = panic_info
.location()
.map(|l| l.to_string())