Skip to content

Commit

Permalink
v4: types fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madimp committed Nov 11, 2024
1 parent e5a2d69 commit 92e8f18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class DescriptError {
}

if (this.error?.id === 'Error') {
this.error.id = ERROR_ID.UNKNOWN_ERROR;
this.error.id = ERROR_ID.JS_ERROR;
}

if (!this.error?.id) {
Expand Down
2 changes: 2 additions & 0 deletions lib/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export type LoggerEvent = SuccessLoggerEvent | ErrorLoggerEvent | StartLoggerEve


class Logger {
static EVENT = EVENT;

private _debug = false;

constructor(config: Config) {
Expand Down

0 comments on commit 92e8f18

Please sign in to comment.