Added the method in the route log and the error while route compiling errors