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