MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / globalErrorHandler

Function globalErrorHandler

main.js:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36const { google } = require('googleapis');
37const { Level } = require('level');
38
39// ERROR
40
41function globalErrorHandler () {
42 const stack = new Error('Global error happened here:').stack;
43 return (error) => {
44 console.log(error.code, stack, error);
45 };
46}

Callers 6

publishToTelegramFunction · 0.85
sendArrayFunction · 0.85
processPrivateCommandFunction · 0.85
welcomeFunction · 0.85
processPublicCommandFunction · 0.85
main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected