diff --git a/Makefile b/Makefile index fc1acb7b..8c2b18ef 100644 --- a/Makefile +++ b/Makefile @@ -205,14 +205,12 @@ lint-go-fix: build_audio_deps # Run UI linting locally (mirrors GitHub workflow ui-lint.yml) lint-ui: @echo "Running UI lint..." - @cd ui && npm ci - @cd ui && npm run lint + @cd ui && npm ci && npm run lint # Run UI linting with auto-fix lint-ui-fix: @echo "Running UI lint with auto-fix..." - @cd ui && npm ci - @cd ui && npm run lint:fix + @cd ui && npm ci && npm run lint:fix # Legacy alias for UI linting (for backward compatibility) ui-lint: lint-ui diff --git a/audio.go b/audio.go index a828c562..bd1bfde1 100644 --- a/audio.go +++ b/audio.go @@ -253,6 +253,7 @@ func handleInputTrackForSession(track *webrtc.TrackRemote) { } if err := (*source).WriteMessage(0, opusData); err != nil { + audioLogger.Warn().Err(err).Msg("failed to write audio message") (*source).Disconnect() } }