handle recoverable error properly
This commit is contained in:
parent
6f8ff3f11d
commit
f1af849e81
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ func (p Pipeline) isRecoverableError(err error) bool {
|
||||||
r := false
|
r := false
|
||||||
|
|
||||||
cErr, ok := err.(*kinesis.Error)
|
cErr, ok := err.(*kinesis.Error)
|
||||||
if ok && cErr.Code == "ProvisionedThroughputExceeded" {
|
if ok && cErr.Code == "ProvisionedThroughputExceededException" {
|
||||||
r = true
|
r = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue