MCPcopy Create free account
hub / github.com/linuxfoundation/crowd.dev / init

Function init

frontend/src/utils/logRocket/index.ts:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const isLogRocketEnabled: () => void = () => config.env === 'production' && FeatureFlag.unleash?.isEnabled(FEATURE_FLAGS.logRocket);
9
10const init = () => {
11 if (isLogRocketEnabled()) {
12 LogRocket.init(APP_ID);
13 }
14};
15
16const captureException = (error: Error) => {
17 if (isLogRocketEnabled()) {

Callers

nothing calls this directly

Calls 2

isLogRocketEnabledFunction · 0.85
initMethod · 0.65

Tested by

no test coverage detected