Not found pattern
You can define a pattern which is used as fallback as soon a pattern could not be found on client side. This is very useful for debugging and logging purposes. The pattern must be accesible in the same process.
hemera.setNotFoundPattern({
topic: 'math',
cmd: 'notFound'
})
hemera.add(
{
topic: 'math',
cmd: 'notFound'
},
function(req, done) {
this.log.info('Not found')
done()
}
)