move agent token (#3669)

This commit is contained in:
Paul Wells
2025-05-15 10:30:14 -07:00
committed by GitHub
parent c9385edd1e
commit 13b55a80ad
8 changed files with 15 additions and 45 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/livekit/protocol/livekit"
)
func handleError(w http.ResponseWriter, r *http.Request, status int, err error, keysAndValues ...interface{}) {
func HandleError(w http.ResponseWriter, r *http.Request, status int, err error, keysAndValues ...interface{}) {
keysAndValues = append(keysAndValues, "status", status)
if r != nil && r.URL != nil {
keysAndValues = append(keysAndValues, "method", r.Method, "path", r.URL.Path)