egoist / gh-pinned-repos

API service for retrieving pinned repos on GitHub.
https://gh-pinned-repos.egoist.dev
MIT License
116 stars 17 forks source link

Try Catch if not exists any property #10

Closed joseluisgs closed 3 years ago

joseluisgs commented 3 years ago

The code has been refactored, because sometimes elements such as the language of a project are optional and this caused an error. See: https://github.com/egoist/gh-pinned-repos/issues/9

In this way, if you ever change the CSS layout or identifiers of GitHub elements or some element is optional, it can be located and changed more easily and control possible internal errors

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/egoist/gh-pinned-repos/5joPG9jSc9TK4ExdpeYkA45V9rkf
✅ Preview: https://gh-pinned-repos-git-fork-joseluisgs-master-egoist.vercel.app