add error case when shp2pgsql fails