mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-19 14:06:32 +02:00
Merge pull request #113 from strukturag/serialize-turn-credentials
Don't include TURN credentials in log message.
This commit is contained in:
commit
f38ebdc518
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue