Skip to content
Browse files

slightly more informative errors

  • Loading branch information...
1 parent e3564ab commit c01034ac88e0c1e044ff33f05f54bff6d94696bb @rundel committed Jul 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/mml_parser.hpp
View
4 include/mml_parser.hpp
@@ -165,7 +165,7 @@ struct mml_parser {
} catch (std::exception& e) {
throw config_error( e.what() );
} catch (...) {
- throw config_error( "Unknown error" );
+ throw config_error( "Unknown error - parse_layer" );
}
}
@@ -209,7 +209,7 @@ struct mml_parser {
} catch (const mapnik::datasource_exception & ex ) {
throw config_error( ex.what() );
} catch (...) {
- throw config_error("Unknown exception");
+ throw config_error("Unknown exception - parse_Datasource");
}
}

0 comments on commit c01034a

Please sign in to comment.
Something went wrong with that request. Please try again.