Don't hide real error message during event dispatch

pull/797/head
Zef Hemel 2024-03-04 20:22:09 +01:00
parent 4d2006d7e4
commit adf7d2e785
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ export class EventHook implements Hook<EventHookT> {
console.error(
`Error dispatching event ${eventName} to ${plug.name}.${name}: ${e.message}`,
);
throw e;
}
})());
}