Merge pull request #2379 from overleaf/bg-remove-console-log

remove console.logs

GitOrigin-RevId: 85b95536a9f48c712f15a154ddcbe29cd3b1ca1c
This commit is contained in:
Brian Gough 2019-11-19 11:59:59 +00:00 committed by sharelatex
parent 82c2b0e8d4
commit 55a4840706

View file

@ -59,10 +59,10 @@ module.exports = {
try { try {
let filename = app.get('views') + '/' + view + '.pug' let filename = app.get('views') + '/' + view + '.pug'
pug.compileFile(filename, { cache: true }) pug.compileFile(filename, { cache: true })
console.log('compiled', view) logger.log({ view }, 'compiled')
success++ success++
} catch (err) { } catch (err) {
console.log('error compiling', view, err) logger.error({ view, err }, 'error compiling')
failures++ failures++
} }
}) })