> The extra part in the global.php file was added to help me find the source of a routing error, which turned out to be the issue that I resolved in #6. With the default code, the errors that were returned in the laravel error log just stated a route error, not what route caused it. The added code would add a line to the log file that specifies exactly which route caused the error. 

This is pretty cool. Where did you find this?