Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

703 B
Raw Blame
import type { CrashReportDetailValue } from './crash-reporting'

/** Surface Crashpad fatal lines above details: Chromium CHECK’s bare STATUS_BREAKPOINT cannot identify the cause. */
export function appendMinidumpSignatureLines(
  lines: string[],
  details: Record<string, CrashReportDetailValue>
): void {
  if (typeof details.minidumpCheckMessage === 'string') {
    lines.push(`Check failure: ${details.minidumpCheckMessage}`)
  }
  if (typeof details.minidumpFaultingModule === 'string') {
    const offset = details.minidumpFaultingModuleOffset
    const suffix = typeof offset === 'string' ? `+${offset}` : ''
    lines.push(`Faulting module: ${details.minidumpFaultingModule}${suffix}`)
  }
}