summaryrefslogtreecommitdiff
path: root/player-server/internal/api/server_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-19 14:59:27 +0300
committerPaul Buetow <paul@buetow.org>2026-05-19 14:59:27 +0300
commit2967a0d2c860d3af16164e106b547256b7ebf7c7 (patch)
tree00d39faa8f77970f7b6a9fb5a8d8dba18cd0bd28 /player-server/internal/api/server_test.go
parente4d25b11b63234a4b99d2cffa85fa02aeb16c2f3 (diff)
Unify panic recovery into service.RecoverWorker
cmd/player/main.go had recoverBackgroundWorkerPanic and internal/service/recover.go had handleWorkerPanic implementing the same log-and-stack panic recovery. Export the service variant as RecoverWorker (unchanged signature), use it from main.go, and drop the duplicate helper plus the now-unused runtime/debug import. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-server/internal/api/server_test.go')
0 files changed, 0 insertions, 0 deletions