Skip to content

Commit

Permalink
Merge pull request #177 from Limess/patch-1
Browse files Browse the repository at this point in the history
Remove debug BIG_ERROR log
  • Loading branch information
lucagrulla authored Feb 12, 2021
2 parents d8149a7 + 66c824c commit a059e0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cloudwatch/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ func Tail(cwl cloudwatchlogsiface.CloudWatchLogsAPI,
logParam := params(*logGroupName, logStreams.get(), lastSeenTimestamp, endTimeInMillis, grep, follow)
error := cwl.FilterLogEventsPages(logParam, pageHandler)
if error != nil {
fmt.Println("BIG ERROR", error)
if awsErr, ok := error.(awserr.Error); ok {
if awsErr.Code() == "ThrottlingException" {
log.Printf("Rate exceeded for %s. Wait for 250ms then retry.\n", *logGroupName)
Expand Down

0 comments on commit a059e0c

Please sign in to comment.