Skip to content

Commit

Permalink
Log event dispatch timeout above debug
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nelson committed Aug 19, 2024
1 parent 314458d commit dabcd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/chrome_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (c *ChromeTarget) dispatchWithTimeout(r chan<- *gcdmessage.Message, id int6
case r <- &gcdmessage.Message{Id: id, Data: msg}:
timeout.Stop()
case <-timeout.C:
c.logDebug("timed out dispatching request id: ", id, " of msg: ", msg)
c.logger.Println("timed out dispatching request id: ", id, " of msg: ", msg)
close(r)
return
}
Expand Down

0 comments on commit dabcd9e

Please sign in to comment.