1
0
Fork 0

Generic protocols: suppress XML errors

This commit is contained in:
James Turner 2021-04-21 21:57:10 +01:00
parent a1b5f452e3
commit e1a9d27ca6

View file

@ -38,11 +38,12 @@
#include <simgear/props/props_io.hxx> #include <simgear/props/props_io.hxx>
#include <simgear/math/SGMath.hxx> #include <simgear/math/SGMath.hxx>
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#include <Main/fg_os.hxx>
#include <Main/util.hxx>
#include "generic.hxx" #include "generic.hxx"
#include <Main/fg_os.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Main/sentryIntegration.hxx>
#include <Main/util.hxx>
using simgear::strutils::unescape; using simgear::strutils::unescape;
@ -763,6 +764,7 @@ FGGeneric::reinit()
SGPropertyNode root; SGPropertyNode root;
try { try {
flightgear::SentryXMLErrorSupression xs;
readProperties(path, &root); readProperties(path, &root);
} catch (const sg_exception & ex) { } catch (const sg_exception & ex) {
SG_LOG(SG_NETWORK, SG_ALERT, SG_LOG(SG_NETWORK, SG_ALERT,