fix: do not capture exceptions while emitting events (#1790)
fix: do not capture exceptions while emitting events (#1790)

This could've caught user-land exception.
microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright