Add logger fallback

This commit is contained in:
Evan Morikawa 2016-11-23 10:52:50 -08:00
parent ba58409f2c
commit 9707092cc9

View file

@ -10,6 +10,8 @@ const path = require('path');
const LocalDatabaseConnector = require('../shared/local-database-connector')
const SchedulerUtils = require('../shared/scheduler-utils')
if (!global.Logger) { global.Logger = console }
const server = new Hapi.Server({
connections: {
router: {