Add error handling
The script might encounter errors, and we should handle them:
-
401 and 404 for an issue should be treated like a confidential issue (because the PAT doesn't have access, assume that the public don't either)- The pat will have access. Missing issues should be treated like false positive matches from the regex
- rate limiting might require us to slow down
- any unhandled failure should post to the slack channel so we know that it's broken
Edited by Nick Malcolm