Skip to content

Commit

Permalink
Merge pull request #42 from envoy/fix-err-logger-throw
Browse files Browse the repository at this point in the history
fix: need to throw err
  • Loading branch information
ryanflynndev authored Oct 11, 2023
2 parents db176ac + f4ad045 commit cb4e3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envoy/envoy-integrations-sdk",
"version": "2.0.0-beta.31",
"version": "2.0.0-beta.32",
"description": "SDK for building Envoy integrations.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/loggers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function envoyAxiosErrorLogger(error: AxiosError) {

log('------------ End Of Axios Error ------------\n');

return error;
throw error;
}

export { envoyAxiosRequestLogger, envoyAxiosResponseLogger, envoyAxiosErrorLogger };

0 comments on commit cb4e3af

Please sign in to comment.