logspout-cloudwatch icon indicating copy to clipboard operation
logspout-cloudwatch copied to clipboard

Prevent index out of range error

Open abrener5735 opened this issue 5 years ago • 0 comments

Preventing the following error from occuring:

panic: runtime error: index out of range [0] with length 0 goroutine 25 [running]: github.com/mdsol/logspout-cloudwatch.(*CloudwatchUploader).Start(0xc0002201e0) /go/pkg/mod/github.com/mdsol/[email protected]/uploader.go:55 +0xde7 created by github.com/mdsol/logspout-cloudwatch.NewCloudwatchUploader /go/pkg/mod/github.com/mdsol/[email protected]/uploader.go:47 +0x23f

abrener5735 avatar Aug 12 '20 15:08 abrener5735