MCPcopy Index your code
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

36// ERROR
37
38function globalErrorHandler () {
39 const stack = new Error('Global error happened here:').stack;
40 return (error) => {
41 console.log(error.code, stack, error);
42 };
43}
44
45// ARGV CONSTANTS
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