Skip to content

Commit

Permalink
fix: avoid logged error on context cancel (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Dec 18, 2024
1 parent 58c3173 commit 55c0654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (s *Service) deploy(ctx context.Context, key model.DeploymentKey, module *s
urls := proxyServer.Bind.Subscribe(nil)
go func() {
err := proxyServer.Serve(ctx)
if err != nil {
if err != nil && !errors.Is(err, context.Canceled) {
logger.Errorf(err, "failed to serve")
return
}
Expand Down

0 comments on commit 55c0654

Please sign in to comment.