moved geoserver call into try/except bloxk when retrieving layer info