dotnet-affected
dotnet-affected copied to clipboard
Improve error handling
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.