added docker stuff and updated next.js to ^7.0.0

This commit is contained in:
JJ Kasper
2018-09-21 15:17:55 -05:00
parent 2230f72160
commit 56f9ee318f
62 changed files with 16686 additions and 11907 deletions

View File

@@ -10,16 +10,14 @@ module.exports = function() {
return context => {
// This debugs the service call and a stringified version of the hook context
// You can customize the mssage (and logger) to your needs
logger.debug(
`${context.type} app.service('${context.path}').${context.method}()`
)
if (typeof context.toJSON === 'function') {
logger.debug('Hook Context', JSON.stringify(context, null, ' '))
}
if (context.error) {
logger.error(context.error)
}
// logger.debug(
// `${context.type} app.service('${context.path}').${context.method}()`
// )
// if (typeof context.toJSON === 'function') {
// logger.debug('Hook Context', JSON.stringify(context, null, ' '))
// }
// if (context.error) {
// logger.error(context.error)
// }
}
}