Compare commits

..

1 Commits

Author SHA1 Message Date
d44aae0eff Use winston for logging 2021-03-14 21:30:41 -06:00

View File

@ -114,9 +114,9 @@ async function main() {
const rcsdk = await initRingCentralSDK(); const rcsdk = await initRingCentralSDK();
const db = await initDB(); const db = await initDB();
const intervals = ticketize(sonar, rcsdk, db, getTicketizeConfig()); logger.info("Starting");
logger.info("Started"); const intervals = ticketize(sonar, rcsdk, db, getTicketizeConfig());
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => { ["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
process.on(sig, async () => { process.on(sig, async () => {