Fixing horrendous error in destructor.

This commit is contained in:
tamasmeszaros 2019-03-27 13:22:04 +01:00
parent ccafc43874
commit c332dc1c1d
4 changed files with 29 additions and 10 deletions

View file

@ -266,6 +266,8 @@ public:
m_layers_rst[i].rawbytes.size());
}
}
writer.close();
} catch(std::exception& e) {
BOOST_LOG_TRIVIAL(error) << e.what();
// Rethrow the exception