Skip to content
Snippets Groups Projects
Unverified Commit 1251b61c authored by Daniel Tschinder's avatar Daniel Tschinder Committed by GitHub
Browse files

fix(bitbucket-server): PR update with invalid reviewers (#7698)


* fix(bitbucket-server): Do not throw REPOSITORY_CHANGED if API error is about invalid reviewers

Also always log the error in any case for better visibility

* fix: Extract code into helper methods and retry in updatePR

* Fix review feedback

* Update lib/platform/bitbucket-server/index.ts

Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>

* lint

* Move new helpers into utils.ts and add proper types for error

* Update lib/platform/bitbucket-server/utils.ts

Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>

Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>
parent 28e90ef6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment