UNPKG

lisk-framework

Version:

Lisk blockchain application platform

9 lines 385 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.panic = void 0; const panic = (logger, error) => { logger.fatal({ error: error !== null && error !== void 0 ? error : new Error('Something unexpected happened') }, 'Raising panic and shutting down the application'); process.exit(1); }; exports.panic = panic; //# sourceMappingURL=panic.js.map