Added Exception thrown if error generating swagger