Skip to content

Commit

Permalink
Merge branch 'develop' into feat.onboard-reddit
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ab authored Nov 21, 2023
2 parents 8c57518 + e5f8714 commit 7517635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/openfaas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ const executeFaasFunction = async (
}

if (error.statusCode === 504) {
throw new RespStatusError(`${name} timed out`);
throw new RespStatusError(`${name} timed out`, 504);
}

throw error;
Expand Down

0 comments on commit 7517635

Please sign in to comment.