1 import { initialize } from './chargebee-entry';
2 import { addCheckpoint } from './checkpoints';
3 import { getMessageBus } from './message-bus';
5 document.addEventListener('DOMContentLoaded', () => initialize());
7 window.addEventListener('error', (event) => {
8 addCheckpoint('window_error', {
12 event.preventDefault();
13 getMessageBus().sendUnhandledErrorMessage(event.error);