diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-02 10:33:44 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-02 16:13:21 -0700 |
commit | e9872b4ed02b877d4589b288a80ba8bcc49bae7b (patch) | |
tree | 7e9c7574728b499cd7f15983ce74f5e039400502 /src | |
parent | fd344aaa14e4069bdffb0802f6e5cfb1bdeb9807 (diff) | |
download | qtlocation-mapboxgl-e9872b4ed02b877d4589b288a80ba8bcc49bae7b.tar.gz |
Revert "[node] Temporary: exit(0) on exception in Painter::render"
This reverts commit f0d4411871d43012dc9e24a376ebc70ec6ca9224.
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/map.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index a1f3bdbbde..9460ad2580 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -26,7 +26,6 @@ #include <mbgl/util/tile_coordinate.hpp> #include <mbgl/actor/scheduler.hpp> #include <mbgl/util/logging.hpp> -#include <mbgl/util/string.hpp> #include <mbgl/math/log2.hpp> namespace mbgl { @@ -328,15 +327,10 @@ void Map::Impl::render(View& view) { backend.updateAssumedState(); - try { - painter->render(*style, - frameData, - view, - annotationManager->getSpriteAtlas()); - } catch (...) { - Log::Error(Event::General, "Exception in render: %s", util::toString(std::current_exception()).c_str()); - exit(1); - } + painter->render(*style, + frameData, + view, + annotationManager->getSpriteAtlas()); auto request = std::move(stillImageRequest); request->callback(nullptr); |