MCPcopy Create free account
hub / github.com/Semporia/Scripts / logErr

Method logErr

jd_api_test.js:371–374  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

369 }
370
371 logErr(t, e) {
372 const s = !this.isSurge() && !this.isQuanX() && !this.isLoon();
373 s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t)
374 }
375
376 wait(t) {
377 return new Promise(e => setTimeout(e, t))

Callers 3

getRandomCodeFunction · 0.45
runScriptMethod · 0.45
getMethod · 0.45

Calls 4

isSurgeMethod · 0.45
isQuanXMethod · 0.45
isLoonMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected