MCPcopy
hub / github.com/claude-code-best/claude-code / logBridgeSkip

Function logBridgeSkip

src/bridge/debugUtils.ts:128–141  ·  view source on GitHub ↗
(
  reason: string,
  debugMsg?: string,
  v2?: boolean,
)

Source from the content-addressed store, hash-verified

126 * cast so call sites don't each repeat the 5-line boilerplate.
127 */
128export function logBridgeSkip(
129 reason: string,
130 debugMsg?: string,
131 v2?: boolean,
132): void {
133 if (debugMsg) {
134 logForDebugging(debugMsg)
135 }
136 logEvent('tengu_bridge_repl_skipped', {
137 reason:
138 reason as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
139 ...(v2 !== undefined && { v2 }),
140 })
141}

Callers 3

initEnvLessBridgeCoreFunction · 0.85
initBridgeCoreFunction · 0.85
initReplBridgeFunction · 0.85

Calls 2

logEventFunction · 0.85
logForDebuggingFunction · 0.50

Tested by

no test coverage detected