I started implementing this in another way, just wrapping error by error with the error to just do it on git errors, but it was a ton of changes and very prone to not be done in the future.
This way, the iterator is wrapped and the errores are always added the info, no matter how much we change the iterators and the errors they return.
[x] I updated the documentation explaining the new behavior if any.
[x] I updated CHANGELOG.md file adding the new feature or bug fix.
[x] I updated go-mysql-server using make upgrade command if applicable.
[x] I added or updated examples if applicable.
[x] I checked that changes on schema are reflected into the documentation, if applicable.
Closes #909
I started implementing this in another way, just wrapping error by error with the error to just do it on git errors, but it was a ton of changes and very prone to not be done in the future.
This way, the iterator is wrapped and the errores are always added the info, no matter how much we change the iterators and the errors they return.
make upgrade
command if applicable.