Add a route to generate an exception on command