Open mattwynne opened 4 years ago
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🙏.
Not stale, this is important!
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🙏.
We've got to fix this. It won't take long and it will exclude lots of user's repos.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🙏.
I've cleaned up this code and it seems to be working now. Closing.
If the code in
handleGetRefs
throws any kind of error, we just return an emptyRefs()
object.The error swallowing was presumably for dealing with calls to
show-ref
in empty repos, but it's also swallowing errors parsing refs.Need to change this so the try/catch block is only around the call to
show-ref
and not the parsing bit, so that parsing errors are still thrown.