handle recoverable error properly

This commit is contained in:
dan 2015-04-07 08:53:06 -07:00
parent 6f8ff3f11d
commit f1af849e81

View file

@ -28,7 +28,7 @@ func (p Pipeline) isRecoverableError(err error) bool {
r := false
cErr, ok := err.(*kinesis.Error)
if ok && cErr.Code == "ProvisionedThroughputExceeded" {
if ok && cErr.Code == "ProvisionedThroughputExceededException" {
r = true
}