mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-03 06:13:17 +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)
|
data, err := json.Marshal(result)
|
||||||
if err != nil {
|
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)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
io.WriteString(w, "Could not serialize credentials.") // nolint
|
io.WriteString(w, "Could not serialize credentials.") // nolint
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue