diff --git a/ReflexToQ3/main.cpp b/ReflexToQ3/main.cpp index f275d9b..1ae6794 100644 --- a/ReflexToQ3/main.cpp +++ b/ReflexToQ3/main.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include "cxxopts.hpp" @@ -112,7 +113,11 @@ void convert_entities(const cxxopts::Options &o, const vector > & fn = &brushdef_gtk; } for (const vector &entity : q) { - write(entity, fout, fn, e); + try { + write(entity, fout, fn, e); + } catch (exception &e) { + cerr << e.what() << endl; + } } }