diff --git a/lib/common/service/filterService.js b/lib/common/service/filterService.js index 8c9aa7f9a..1c65fa758 100644 --- a/lib/common/service/filterService.js +++ b/lib/common/service/filterService.js @@ -91,7 +91,7 @@ Service.prototype.afterFilter = function(err, msg, session, resp, cb) { } else if(typeof handler.after === 'function') { handler.after(err, msg, session, resp, next); } else { - logger.error('meet invalid after filter, handler or handler.before should be function.'); + logger.error('meet invalid after filter, handler or handler.after should be function.'); next(new Error('invalid after filter.')); } } //end of next