From ba187a49494e591f31be75e4c648a5b8acff030a Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 26 Jan 2010 22:57:34 +0000 Subject: [PATCH] shape plugin: be more explicit about the shapefile name if the file is not found --- plugins/input/shape/shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/shape/shape.cpp b/plugins/input/shape/shape.cpp index 81340e918..08c1a2995 100644 --- a/plugins/input/shape/shape.cpp +++ b/plugins/input/shape/shape.cpp @@ -66,7 +66,7 @@ shape_datasource::shape_datasource(const parameters ¶ms) if (!boost::filesystem::exists(shape_name_ + ".shp")) { - throw datasource_exception(shape_name_ + " does not exist"); + throw datasource_exception("shapefile '" + shape_name_ + ".shp' does not exist"); } try