Don't hide real error message during event dispatch
parent
4d2006d7e4
commit
adf7d2e785
|
@ -74,6 +74,7 @@ export class EventHook implements Hook<EventHookT> {
|
|||
console.error(
|
||||
`Error dispatching event ${eventName} to ${plug.name}.${name}: ${e.message}`,
|
||||
);
|
||||
throw e;
|
||||
}
|
||||
})());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue