Skip to content

Commit 7e0a307

Browse files
authored
ref(browser): Extract global handlers private methods (#4265)
- Move private methods into regular functions as they don't use class props - Use dynamic dispatch object, `_installFunc` to call install methods on instrumentation - Extract capture exception into common method `function addMechanismAndCapture` - Alias unminified variable names (remove `event.exception.values[0].stacktrace.frames`) - Extract logging into function `function globalHandlerLog` - Introduce function to call `getCurrentHub` and return client options.
1 parent f5958a4 commit 7e0a307

File tree

1 file changed

+193
-190
lines changed

1 file changed

+193
-190
lines changed

0 commit comments

Comments
 (0)