MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / isLimitedWarning

Function isLimitedWarning

src/limit.js:23–24  ·  view source on GitHub ↗
(event, value)

Source from the content-addressed store, hash-verified

21
22// The `warning` itself should not be skipped
23const isLimitedWarning = (event, value) =>
24 event === 'warning' && value.message.startsWith(PREFIX)
25
26export const MAX_EVENTS = 100
27export const PREFIX = `Cannot log more than ${MAX_EVENTS}`

Callers 1

isLimitedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…