Skip to content

Commit 55d2a52

Browse files
committed
Adding 2 more error retry messages
1 parent 7711eb1 commit 55d2a52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/mongo/error/operation_failure.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ class OperationFailure < Error
3333
'no master',
3434
'not master',
3535
'connect failed',
36-
'error querying'
36+
'error querying',
37+
'could not get last error',
38+
'connection attempt failed'
3739
].freeze
3840

3941
# Can the operation that caused the error be retried?

0 commit comments

Comments
 (0)