Merge pull request #872 from SiIky/chore/JbtevlHv/log_through_logger

Log through the logger
This commit is contained in:
Rafael Taranto 2021-11-11 18:32:06 +00:00 committed by GitHub
commit 1dd8f4ff7e
18 changed files with 66 additions and 42 deletions

View file

@ -1,9 +1,10 @@
const got = require('got')
const logger = require('../../../logger')
const settingsLoader = require('../../../new-settings-loader')
const notify = () => got.post('http://localhost:3030/dbChange')
.catch(e => console.error('Error: lamassu-server not responding'))
.catch(e => logger.error('lamassu-server not responding'))
const resolvers = {
Query: {