Created
July 20, 2012 21:50
-
-
Save springmeyer/3153485 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: backend-mapnik/renderd.cc | |
=================================================================== | |
--- backend-mapnik/renderd.cc (revision 28499) | |
+++ backend-mapnik/renderd.cc (working copy) | |
@@ -14,7 +14,7 @@ | |
#include <mapnik/datasource_cache.hpp> | |
#include <mapnik/font_engine_freetype.hpp> | |
-#include <mapnik/config_error.hpp> | |
+#include <exception> | |
#include "networklistener.h" | |
@@ -136,10 +136,10 @@ | |
debug("added style '%s' from map %s", stylename.c_str(), configfile); | |
rv = true; | |
} | |
- catch (mapnik::config_error cfgerr) | |
+ catch (std::exception const& ex) | |
{ | |
warning("cannot add %s", configfile); | |
- warning("%s", cfgerr.what()); | |
+ warning("%s", ex.what()); | |
} | |
return rv; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment