Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
call req.path() if a function. restify compat, fixes pinojs#88
in pinojs#29 we preferred req.path, because req.url would throw in hapi if the path was invalid. in restify though, req.path is a function, and this change made the url no longer log. check req.path to see if it is a function, and invoke it if it is.
- Loading branch information