shape plugin: be more explicit about the shapefile name if the file is not found
This commit is contained in:
parent
52d08e7d1a
commit
ba187a4949
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ shape_datasource::shape_datasource(const parameters ¶ms)
|
||||||
|
|
||||||
if (!boost::filesystem::exists(shape_name_ + ".shp"))
|
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
|
try
|
||||||
|
|
Loading…
Reference in a new issue