stop errors if server is not set -- useful for running swagger in dev mode only