MCPcopy
hub / github.com/subquery/subql / error

Method error

packages/node-core/src/logger.ts:49–55  ·  view source on GitHub ↗
(message: any, trace?: string)

Source from the content-addressed store, hash-verified

47 constructor(private readonly debugLevel = false) {}
48
49 error(message: any, trace?: string): void {
50 if (trace) {
51 this.logger.error({trace}, message);
52 } else {
53 this.logger.error(message);
54 }
55 }
56
57 log(message: any): void {
58 // if (!this.debugLevel) return;

Callers 15

generateModelsFunction · 0.45
requestLoginTokenMethod · 0.45
runMethod · 0.45
runMethod · 0.45
stopFlexPlanAdapterFunction · 0.45
runMethod · 0.45
connectMethod · 0.45
WsJsonRpcClientClass · 0.45

Calls

no outgoing calls

Tested by 1

removeLinesFromFileFunction · 0.36