**Is your feature request related to a problem? Please describe.** Currently there is an unhandled exception and stack trace when passing an invalid URL. **Describe the solution you'd like** Use the normal error handler used by the rest of the generator.