Skip to content

Commit 3d84db5

Browse files
authored
fix: use correct error code
1 parent c323de7 commit 3d84db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

questionpy_server/web/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, *, reason: str | None, temporary: bool) -> None:
4040
super().__init__(
4141
msg="Question package did not answer in a reasonable amount of time",
4242
body=RequestError(
43-
error_code=RequestErrorCode.OUT_OF_MEMORY,
43+
error_code=RequestErrorCode.WORKER_TIMEOUT,
4444
reason=reason,
4545
temporary=temporary,
4646
),

0 commit comments

Comments
 (0)