Skip to content

Commit

Permalink
Merge pull request #522 from brotherlogic/record_log_error
Browse files Browse the repository at this point in the history
record_log_error
  • Loading branch information
brotherlogic committed Aug 3, 2020
2 parents 0b5e72a + 4e2e1ff commit 9a44cba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions goserverapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ func (s *GoServer) RaiseIssue(title, body string) {
s.alertError = fmt.Sprintf("Cannot locate githubcard")

if err != nil {
s.Log(fmt.Sprintf("Error adding issue: %v", err))
st := status.Convert(err)
if st.Code() == codes.ResourceExhausted {
s.alertWait = time.Now().Add(time.Minute * 10)
Expand Down

0 comments on commit 9a44cba

Please sign in to comment.