added docker stuff and updated next.js to ^7.0.0
This commit is contained in:
@@ -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)
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user