Skip to content

Commit

Permalink
remove redundant console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
RAORelewise committed Aug 14, 2024
1 parent d2df1f5 commit e89ec24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/client/src/relewise.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export abstract class RelewiseClient {
} catch (_) {
}

console.error(responseMessage);

throw new ProblemDetailsError(`Error when calling the Relewise API.\n\nTitle: ${response.statusText}\nStatus: ${response.status}.\n\nRead more in the details property if there is error response or look in the network tab.`, responseMessage);
}

Expand Down

0 comments on commit e89ec24

Please sign in to comment.