Compare commits

..

1 Commits

Author SHA1 Message Date
88d9e58d25 Use winston for logging 2021-03-14 21:39:35 -06:00
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ async function main() {
});
});
} catch (err) {
logger.error("lkjsdf", err);
logger.error(err);
}
}

View File

@ -340,7 +340,7 @@ export function ticketize(
* @param firstRun whether this is the first run
*/
async function fetchAndStoreNewVoicemails(firstRun = false) {
logger.info("Checking for new voicemails");
logger.verbose("Checking for new voicemails");
const extensions = await getValidRCExtensions();
return Promise.all(
extensions.map((extension) =>