mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
adding when/monitor/console
This commit is contained in:
parent
00bf88472a
commit
ccd7b211f2
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ var express = require('express'),
|
||||||
server = express(),
|
server = express(),
|
||||||
ghost = new Ghost();
|
ghost = new Ghost();
|
||||||
|
|
||||||
|
// If we're in development mode, require "when/console/monitor"
|
||||||
|
// for help in seeing swallowed promise errors.
|
||||||
|
if (process.env.NODE_ENV === 'development') {
|
||||||
|
require('when/monitor/console');
|
||||||
|
}
|
||||||
|
|
||||||
// ##Custom Middleware
|
// ##Custom Middleware
|
||||||
|
|
||||||
// ### Auth Middleware
|
// ### Auth Middleware
|
||||||
|
|
Loading…
Add table
Reference in a new issue