Skip to content

Commit

Permalink
fix(duplicate): handle if base branch have been deleted
Browse files Browse the repository at this point in the history
Fixes MERGIFY-ENGINE-252
  • Loading branch information
sileht committed Mar 31, 2021
1 parent ff093ba commit 92ff992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mergify_engine/duplicate_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class DuplicateFailed(Exception):
GIT_MESSAGE_TO_EXCEPTION = {
"No such device or address": DuplicateNeedRetry,
"Could not resolve host": DuplicateNeedRetry,
"couldn't find remote ref": DuplicateFailed,
"Authentication failed": DuplicateNeedRetry,
"remote end hung up unexpectedly": DuplicateNeedRetry,
"Operation timed out": DuplicateNeedRetry,
Expand Down

0 comments on commit 92ff992

Please sign in to comment.