Don't include TURN credentials in log message.

This commit is contained in:
Joachim Bauch 2021-06-01 08:24:48 +02:00
parent dcc32bd682
commit 5ed89af1eb
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -223,7 +223,7 @@ func (b *BackendServer) getTurnCredentials(w http.ResponseWriter, r *http.Reques
data, err := json.Marshal(result)
if err != nil {
log.Printf("Could not serialize TURN credentials %+v: %s", result, err)
log.Printf("Could not serialize TURN credentials: %s", err)
w.WriteHeader(http.StatusInternalServerError)
io.WriteString(w, "Could not serialize credentials.") // nolint
return