Skip to content

Commit

Permalink
Update src/event-bus.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec authored Jul 24, 2023
1 parent 9e42f13 commit 65e3822
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/event-bus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export class EventBus<EventBase extends IEvent = IEvent>
.pipe(
mergeMap((event) =>
defer(() => Promise.resolve(handler.handle(event))).pipe(
// NOTE: catch on disposable stream, main stream lives on
catchError((error) => {
const unhandledError = this.mapToUnhandledErrorInfo(event, error);
this.unhandledExceptionBus.publish(unhandledError);
Expand Down

0 comments on commit 65e3822

Please sign in to comment.