Skip to content

Commit d7ada21

Browse files
chore: remove console log
1 parent ec22134 commit d7ada21

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@povio/openapi-codegen-cli",
3-
"version": "2.0.2-rc.2",
3+
"version": "2.0.2-rc.3",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
66
"exports": {

src/lib/rest/error-handling.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ export class ErrorHandler<CodeT extends string> {
127127
const code = RestUtils.extractServerResponseCode(error);
128128
const errorEntry = this.entries.find((entry) => this.matchesEntry(error, entry, code))!;
129129

130-
// eslint-disable-next-line no-console
131-
console.log("[ErrorHandler] this.t:", this.t, "typeof:", typeof this.t);
132-
133130
const serverMessage = RestUtils.extractServerErrorMessage(error);
134131
const exception = new ApplicationException(errorEntry.getMessage(this.t, error), errorEntry.code, serverMessage);
135132

0 commit comments

Comments
 (0)