MCPcopy
hub / github.com/fontello/fontello / logFatalError

Function logFatalError

lib/system/runner.js:60–70  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

58
59
60 function logFatalError(err) {
61 /*eslint-disable no-console*/
62
63 // Check for logger existence - if error happend while reading
64 // application configs, logger objects may not be created.
65 if (N.logger && N.logger.fatal) {
66 N.logger.fatal(formatError(err));
67 } else {
68 console.error(formatError(err));
69 }
70 }
71
72 //
73 // Catch unexpected exceptions

Callers 5

runner.jsFile · 0.85
shutdownFunction · 0.85
reloadFunction · 0.85
terminateFunction · 0.85
executeFunction · 0.85

Calls 1

formatErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…