Revert "chore: cover panic error"

This reverts commit b8cb48aead.
This commit is contained in:
huzibaca 2024-09-25 20:22:49 +08:00
parent fc5c959a55
commit ec2bf37ad4
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -19,11 +19,6 @@ pub fn redirect_panic_to_log() {
&format!("{:?}", payload) &format!("{:?}", payload)
}; };
//TODO skip this error
if payload.contains("PostMessage failed ; is the messages queue full?") {
return;
}
let location = panic_info let location = panic_info
.location() .location()
.map(|l| l.to_string()) .map(|l| l.to_string())