MCPcopy
hub / github.com/desktop/desktop / error

Function error

app/src/main-process/desktop-file-transport.ts:20–25  ·  view source on GitHub ↗
(operation: string)

Source from the content-addressed store, hash-verified

18)
19
20const error = (operation: string) => (error: any) => {
21 if (__DEV__) {
22 console.error(`DesktopFileTransport: ${operation}`, error)
23 }
24 return undefined
25}
26
27/**
28 * A re-implementation of the winston-daily-rotate-file module

Callers 3

logMethod · 0.70
getLogFilesInFunction · 0.70
pruneDirectoryFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected