Skip to content

Commit

Permalink
Remove error stack logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-palmer committed Aug 5, 2024
1 parent ff0433f commit 3401116
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/sdk/src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,5 @@ export class APIError extends Error {
this.statusCode = statusCode
this.rawError = rawError
this.requestUrl = requestUrl

if (rawError?.stack) {
this.stack = rawError.stack
}
}
}

0 comments on commit 3401116

Please sign in to comment.