Skip to content

Commit

Permalink
sink-serve: add docker-compose output to errors in ApplyManifest
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Oct 25, 2023
1 parent 0ba5dc5 commit 835d91a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sink-server/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (e *DockerEngine) Create(deploymentID string, pkg *pbsubstreams.Package, zl

output, err := e.applyManifest(deploymentID, manifest, runMeFirst, false)
if err != nil {
return fmt.Errorf("applying manifest: %w", err)
return fmt.Errorf("applying manifest: %w\noutput: %s", err, output)
}
_ = output // TODO save somewhere maybe
return nil
Expand Down Expand Up @@ -187,7 +187,7 @@ func (e *DockerEngine) Update(deploymentID string, pkg *pbsubstreams.Package, re

output, err := e.applyManifest(deploymentID, manifest, runMeFirst, true)
if err != nil {
return fmt.Errorf("applying manifest: %w", err)
return fmt.Errorf("applying manifest: %w\noutput: %s", err, output)
}
_ = output // TODO save somewhere maybe
return nil
Expand Down

0 comments on commit 835d91a

Please sign in to comment.