MCPcopy Create free account
hub / github.com/cortexkit/magic-context / isErrorLogLine

Function isErrorLogLine

packages/cli/src/lib/issue-body.ts:63–65  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

61];
62
63function isErrorLogLine(line: string): boolean {
64 return ERROR_LOG_PATTERNS.some((rx) => rx.test(line));
65}
66
67/**
68 * Extract the most-recent error-shaped log lines from a sanitized log.

Callers 1

extractRecentErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected