Skip to content

Commit be3dcd6

Browse files
committed
Mantain the status code for VersionLockedError exception
1 parent bed6f2e commit be3dcd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/doc_builder/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class BuildEnvironmentCreationFailed(BuildEnvironmentError):
3535
class VersionLockedError(BuildEnvironmentError):
3636

3737
message = ugettext_noop('Version locked, retrying in 5 minutes.')
38+
status_code = 423
3839

3940

4041
class ProjectBuildsSkippedError(BuildEnvironmentError):

0 commit comments

Comments
 (0)