Skip to content

Commit

Permalink
fix: Range Error while unwinding error code stack
Browse files Browse the repository at this point in the history
  • Loading branch information
steilerDev committed Jul 6, 2023
1 parent 0823069 commit a0520df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"outFiles": [
"${workspaceFolder}/app/bin/**/*.js",
],
"envFile": "${workspaceFolder}/.vscode/private-account.env"
"envFile": "${workspaceFolder}/.vscode/test.env"
}, {
"name": "Run API Tests",
"type": "node",
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/error/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class iCPSError extends Error {
}

if (this.cause instanceof iCPSError) {
errorCodeStack.push(...this.getErrorCodeStack());
errorCodeStack.push(...this.cause.getErrorCodeStack(onlyICPSError));
return errorCodeStack;
}

Expand Down

0 comments on commit a0520df

Please sign in to comment.