Enable error log to console
This commit is contained in:
parent
93d50794b9
commit
640d8620bb
|
@ -14,7 +14,10 @@ const server = Hapi.server({
|
||||||
files: {
|
files: {
|
||||||
relativeTo: Path.join(__dirname, 'static')
|
relativeTo: Path.join(__dirname, 'static')
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
debug: {
|
||||||
|
request: ['error']
|
||||||
|
},
|
||||||
});
|
});
|
||||||
server.events.on('stop', () => {
|
server.events.on('stop', () => {
|
||||||
console.log('Server stopped.');
|
console.log('Server stopped.');
|
||||||
|
|
Loading…
Reference in New Issue