Open
Description
Proposal
When generating the scaffold for a new module, the modulegen tool executes multiple commands.
In case one of them fails, it is only reported the step that failed, but the actual error is not reported, as seen in the following output:
Error: >> error synchronizing the dependencies: exit status 1
A more detailed output from the tool would facilitate the debugging of errors. For example:
Error: >> error synchronizing the dependencies: exit status 1
go: finding module for package github.com/testcontainers/testcontainers-go/modules/k6
github.com/testcontainers/testcontainers-go/examples/k6 tested by
github.com/testcontainers/testcontainers-go/examples/k6.test imports
github.com/testcontainers/testcontainers-go/modules/k6: module github.com/testcontainers/testcontainers-go@latest found (v0.24.1, replaced by ../..), but does not contain package github.com/testcontainers/testcontainers-go/modules/k6