mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 18:47:51 +08:00
Add logger fallback
This commit is contained in:
parent
ba58409f2c
commit
9707092cc9
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ const path = require('path');
|
||||||
const LocalDatabaseConnector = require('../shared/local-database-connector')
|
const LocalDatabaseConnector = require('../shared/local-database-connector')
|
||||||
const SchedulerUtils = require('../shared/scheduler-utils')
|
const SchedulerUtils = require('../shared/scheduler-utils')
|
||||||
|
|
||||||
|
if (!global.Logger) { global.Logger = console }
|
||||||
|
|
||||||
const server = new Hapi.Server({
|
const server = new Hapi.Server({
|
||||||
connections: {
|
connections: {
|
||||||
router: {
|
router: {
|
||||||
|
|
Loading…
Reference in a new issue