Overloading exception handler after setting up the route.
Added some defined or die.