diff --git a/.eslintignore b/.eslintignore index b2bc187..bf97c72 100644 --- a/.eslintignore +++ b/.eslintignore @@ -9,3 +9,4 @@ release.config.js scripts/* gatewaySdk/ src/testing.ts +src/common/types.ts \ No newline at end of file diff --git a/src/helpers/custom-error.ts b/src/helpers/custom-error.ts index b6ec6a8..9d25c27 100644 --- a/src/helpers/custom-error.ts +++ b/src/helpers/custom-error.ts @@ -24,6 +24,6 @@ function captureError(message: any) { if (message.hasOwnProperty('error')) { return message.error; } - + return message.error.message; }