Emit errors instead of util.log() in router.