mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
Untry
This commit is contained in:
parent
7af5a7fd54
commit
316cd35767
34 changed files with 261 additions and 264 deletions
|
@ -159,7 +159,7 @@ impl ActorRegistry {
|
|||
None => debug!("message received for unknown actor \"{}\"", to),
|
||||
Some(actor) => {
|
||||
let msg_type = msg.get("type").unwrap().as_str().unwrap();
|
||||
if try!(actor.handle_message(self, msg_type, msg, stream))
|
||||
if actor.handle_message(self, msg_type, msg, stream)?
|
||||
!= ActorMessageStatus::Processed {
|
||||
debug!("unexpected message type \"{}\" found for actor \"{}\"",
|
||||
msg_type, to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue