Skip to content

Commit

Permalink
Remove debug BIG_ERROR log
Browse files Browse the repository at this point in the history
  • Loading branch information
Limess authored Feb 12, 2021
1 parent d8149a7 commit 66c824c
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 66c824c

Please sign in to comment.