fix scan coverity issues: uncaught exception

This commit is contained in:
wmayer
2017-04-11 14:03:08 +02:00
parent ca343c43ab
commit c526c18b94
16 changed files with 140 additions and 99 deletions

View File

@@ -112,7 +112,12 @@ MergeExporter::~MergeExporter()
}
}
mergingMesh.save(fName.c_str());
try {
mergingMesh.save(fName.c_str());
}
catch (const Base::Exception& e) {
std::cerr << "Saving mesh failed: " << e.what() << std::endl;
}
}