atomist / sdm-local

Local software delivery machine support
Apache License 2.0
13 stars 4 forks source link

When creating a project but the repo exists, there is no error message #122

Closed jessitron closed 2 years ago

jessitron commented 6 years ago

This is with sample-sdm, running "create spring" and giving an owner/repo that exists on the filesystem. The only error output (in the log) is:

2018-08-21T01:53:42.617Z [m:46949] [info ] Persisting to [/Users/jessitron/code/spring-team/foo]
2018-08-21T01:53:42.638Z [m:46949] [error] Failed invocation of command 'create-spring' true

and on the command line:

✘ Command failure
{"kind":"failure","error":true}

It looks like something is eating exceptions and not printing them to the log. So while this particular scenario doesn't look very broad, the solution should be something that always displays why a command failed

johnsonr commented 6 years ago

We now get an information message in the SDM log but it still doesn't come through to client.

Note that errors from regular commands do come through. This is really an SDM generator issue.

atomist[bot] commented 2 years ago

Thanks for your contribution!

This issue has been automatically marked with stale because it has not had any activity in last 50 days. It will be closed in 7 days if no further activity occurs. To prevent closing, label with defer or blocked or any of the changelog: labels.