no need to cache config error specifically

This commit is contained in:
Dane Springmeyer 2013-05-09 18:12:49 -07:00
parent 8af516a904
commit ca1171aa80

View file

@ -34,7 +34,6 @@
#include <mapnik/expression.hpp> #include <mapnik/expression.hpp>
#include <mapnik/color_factory.hpp> #include <mapnik/color_factory.hpp>
#include <mapnik/image_util.hpp> #include <mapnik/image_util.hpp>
#include <mapnik/config_error.hpp>
#if defined(HAVE_CAIRO) #if defined(HAVE_CAIRO)
#include <mapnik/cairo_renderer.hpp> #include <mapnik/cairo_renderer.hpp>
@ -313,11 +312,6 @@ int main ( int argc , char** argv)
#endif #endif
} }
catch ( const mapnik::config_error & ex )
{
std::cerr << "### Configuration error: " << ex.what() << std::endl;
return EXIT_FAILURE;
}
catch ( const std::exception & ex ) catch ( const std::exception & ex )
{ {
std::cerr << "### std::exception: " << ex.what() << std::endl; std::cerr << "### std::exception: " << ex.what() << std::endl;