From 0e63e6d5edf98a8d399e3eea798ac1192c370b20 Mon Sep 17 00:00:00 2001 From: Alex P Date: Tue, 11 Nov 2025 11:25:49 +0200 Subject: [PATCH] Updates: add logging on error, revert Makefile lint targets --- Makefile | 6 ++---- audio.go | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) 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() } }