mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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(),
|
||||
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
|
||||
|
||||
// ### Auth Middleware
|
||||
|
|
Loading…
Add table
Reference in a new issue