Skip to content

Commit

Permalink
Merge pull request #89 from ubie-oss/fix-error-handling
Browse files Browse the repository at this point in the history
fix error handling
  • Loading branch information
sakajunquality authored Apr 26, 2024
2 parents 20e4b8b + ced25d5 commit 2680e64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ func handlePubSubMessage(w http.ResponseWriter, r *http.Request) {
}

err = f.ProcessGCREvent(ctx, event)
log.Printf("process: %s", err)
if err != nil {
log.Printf("faild to process: %s", err)
}

res := &Response{
Status: http.StatusOK,
Expand Down

0 comments on commit 2680e64

Please sign in to comment.