Added some code to detect when I forget to set a route string or a route pattern