message: fix: don't call `fn.handleEvent.bind` if `fn.handleEvent` does not exist
diff: @@ -70,6 +70,7 @@ export class TryCatch implements Integration {
  options?: boolean | AddEventListenerOptions,
  ): (eventName: string, fn: EventListenerObject, capture?: boolean, secure?: boolean) => void {
  try {
  + if (typeof fn.handleEvent === 'function') {
  fn.handleEvent = wrap(fn.handleEvent.bind(fn), {
  mechanism: {
  data: {
  @@ -81,6 +82,7 @@ export class TryCatch implements Integration {
  type: 'instrument',
  },
  });
  + }
  } catch (err) {
  // can sometimes get 'Permission denied to access property "handle Event'
  }
  