diff --git a/demo/viewer/mainwindow.cpp b/demo/viewer/mainwindow.cpp index bd80bcf3d..d9b044f1c 100644 --- a/demo/viewer/mainwindow.cpp +++ b/demo/viewer/mainwindow.cpp @@ -196,10 +196,10 @@ void MainWindow::load_map_file(QString const& filename) mapnik::auto_cpu_timer t(std::clog, "loading map took: "); mapnik::load_map(*map,filename.toStdString()); } - //catch (mapnik::config_error & ex) - //{ - // std::cout << ex.what() << "\n"; - //} + catch (std::exception & ex) + { + std::cout << ex.what() << "\n"; + } catch (...) { std::cerr << "Exception caught in load_map\n";