MCPcopy Create free account
hub / github.com/agent-tower/core / getErrorLogFilePath

Function getErrorLogFilePath

packages/server/src/utils/error-log.ts:38–40  ·  view source on GitHub ↗
(dataDir = resolveDataDir(), fileName = DEFAULT_LOG_FILE)

Source from the content-addressed store, hash-verified

36}
37
38export function getErrorLogFilePath(dataDir = resolveDataDir(), fileName = DEFAULT_LOG_FILE): string {
39 return path.join(getLogsDir(dataDir), fileName);
40}
41
42export function writeErrorLog(entry: ErrorLogEntry, options: ErrorLogOptions = {}): string | null {
43 try {

Callers 2

writeErrorLogFunction · 0.85
error-log.test.tsFile · 0.85

Calls 3

resolveDataDirFunction · 0.85
getLogsDirFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected