Merge pull request #113 from strukturag/serialize-turn-credentials

Don't include TURN credentials in log message.
This commit is contained in:
Joachim Bauch 2021-06-01 08:30:10 +02:00 committed by GitHub
commit f38ebdc518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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