Skip to content

Prevent index out of range error#14

Open
abrener5735 wants to merge 2 commits intomdsol:masterfrom
abrener5735:master
Open

Prevent index out of range error#14
abrener5735 wants to merge 2 commits intomdsol:masterfrom
abrener5735:master

Conversation

@abrener5735
Copy link

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/logspout-cloudwatch@v0.0.0-20190808172654-fa0130853c7d/uploader.go:55 +0xde7
created by github.com/mdsol/logspout-cloudwatch.NewCloudwatchUploader
/go/pkg/mod/github.com/mdsol/logspout-cloudwatch@v0.0.0-20190808172654-fa0130853c7d/uploader.go:47 +0x23f

raing3 added a commit to raing3/logspout-cloudwatch that referenced this pull request Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant