mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2379 from overleaf/bg-remove-console-log
remove console.logs GitOrigin-RevId: 85b95536a9f48c712f15a154ddcbe29cd3b1ca1c
This commit is contained in:
parent
82c2b0e8d4
commit
55a4840706
1 changed files with 2 additions and 2 deletions
|
@ -59,10 +59,10 @@ module.exports = {
|
|||
try {
|
||||
let filename = app.get('views') + '/' + view + '.pug'
|
||||
pug.compileFile(filename, { cache: true })
|
||||
console.log('compiled', view)
|
||||
logger.log({ view }, 'compiled')
|
||||
success++
|
||||
} catch (err) {
|
||||
console.log('error compiling', view, err)
|
||||
logger.error({ view, err }, 'error compiling')
|
||||
failures++
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue