MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / j

Function j

scripts/new-relic.runtime.js:2337–2349  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2335 )
2336 }
2337 function j(e) {
2338 const t = 'Unhandled Promise Rejection: '
2339 if (!e?.reason) return
2340 if (M(e.reason)) {
2341 try {
2342 e.reason.message.startsWith(t) ||
2343 (e.reason.message = t + e.reason.message)
2344 } catch (e) {}
2345 return C(e.reason)
2346 }
2347 const r = C(e.reason)
2348 return (r.message || '').startsWith(t) || (r.message = t + r.message), r
2349 }
2350 function L(e) {
2351 if (
2352 e.error instanceof SyntaxError &&

Callers 1

constructorMethod · 0.85

Calls 2

MFunction · 0.85
CFunction · 0.85

Tested by

no test coverage detected