strapi-plugin-github-publish
strapi-plugin-github-publish copied to clipboard
Error checking
Add error checking like like:
- [ ] Check for 403 errors etc in the GitHub API and pass on to the frontend to display. Like "Looks like your GitHub Personal Access Token is invalid."
- [ ] What if the access token is correct but
owner,repoorworkflow_idis incorrect. GitHub will return some sort of error we should pass to the frontend. - [ ] Ensure all config options are set correctly.