diff options
Diffstat (limited to 'src/map/vector_tile_data.cpp')
-rw-r--r-- | src/map/vector_tile_data.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/map/vector_tile_data.cpp b/src/map/vector_tile_data.cpp index 1f74cab1d7..5181cbb2ce 100644 --- a/src/map/vector_tile_data.cpp +++ b/src/map/vector_tile_data.cpp @@ -30,18 +30,18 @@ void VectorTileData::parse() { return; } - try { +// try { // Parsing creates state that is encapsulated in TileParser. While parsing, // the TileParser object writes results into this objects. All other state // is going to be discarded afterwards. parser->parse(); - } catch (const std::exception& ex) { -#if defined(DEBUG) - fprintf(stderr, "[%p] exception [%d/%d/%d]... failed: %s\n", this, id.z, id.x, id.y, ex.what()); -#endif - cancel(); - return; - } +// } catch (const std::exception& ex) { +//#if defined(DEBUG) +// fprintf(stderr, "[%p] exception [%d/%d/%d]... failed: %s\n", this, id.z, id.x, id.y, ex.what()); +//#endif +// cancel(); +// return; +// } if (state != State::obsolete) { state = State::parsed; |