diff --git a/rtpconn/webclient.go b/rtpconn/webclient.go index e4351cb..0b282d1 100644 --- a/rtpconn/webclient.go +++ b/rtpconn/webclient.go @@ -1714,7 +1714,7 @@ func handleClientMessage(c *webClient, m clientMessage) error { } tok, err := parseStatefulToken(m.Value) if err != nil { - return terror("not-authorised", "not authorised") + return terror("error", err.Error()) } if tok.Token == "" {