mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
chore: cover panic error
This commit is contained in:
parent
4eccedcd78
commit
b8cb48aead
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user