Skip to content

Commit

Permalink
Merge branch 'develop' into fb_api_update
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs authored Nov 17, 2023
2 parents fb1ef69 + e5f8714 commit f0aeaea
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 f0aeaea

Please sign in to comment.