error handling when geoserver is not working