more informative broker error messages (close #26)

This commit is contained in:
Serene Han 2016-03-09 14:37:29 -08:00
parent e5f284ca56
commit f91b8faa0a
2 changed files with 17 additions and 9 deletions

View file

@ -237,7 +237,7 @@ func (c *webRTCConn) sendOfferToBroker() {
"\nFront URL: ", frontDomain)
answer, err := c.broker.Negotiate(offer)
if nil != err || nil == answer {
log.Printf("BrokerChannel error: %s", err)
log.Printf("BrokerChannel Error: %s", err)
answer = nil
}
c.answerChannel <- answer