Skip to content

Commit

Permalink
fix: build error options
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Nov 13, 2024
1 parent fe62970 commit 3cb474a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event-manager/src/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ export class YalcEventService<
eventName: Parameters<TFormatter> | string,
options?: IErrorBasedMethodOptions<TErrorOptions>,
) {
return this._error(eventName, options);
return this._error(eventName, this.buildErrorOptions(options));
}

@InjectTrace()
public async errorAsync(
eventName: Parameters<TFormatter> | string,
options?: IErrorBasedMethodOptions<TErrorOptions>,
) {
return this._errorAsync(eventName, options);
return this._errorAsync(eventName, this.buildErrorOptions(options));
}

public async warnAsync(
Expand Down

0 comments on commit 3cb474a

Please sign in to comment.