Print error instead of panicking on unrecognized IPC even ttoken

This commit is contained in:
mars 2022-11-16 22:29:02 -07:00
parent efae627263
commit cf95b52f7e
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ impl Ipc {
self.clients.remove(event.token().0);
}
} else {
panic!("Unrecognized event token: {:?}", event);
eprintln!("Unrecognized event token: {:?}", event);
}
}