dotnet-affected icon indicating copy to clipboard operation
dotnet-affected copied to clipboard

Improve error handling

Open leonardochaia opened this issue 3 years ago • 0 comments

Currently when there's any exception (except for the NoChangesException) full stacktrace is shown to the end user.

We should throw known exceptions and using the error middleware convert them to an exit code and a view explaining what happened.

We shoould also catch infra exceptions (like git repo not found at path) and convert them to something we can understand.

leonardochaia avatar Jul 10 '21 16:07 leonardochaia