Fix broken tank properties. More verbose generic protocol error messages
This commit is contained in:
parent
991beb0b5e
commit
0114fd962e
2 changed files with 3 additions and 3 deletions
|
@ -94,9 +94,9 @@ void FDMShell::bind()
|
|||
if (_impl->get_bound()) {
|
||||
throw sg_exception("FDMShell::bind of bound FGInterface impl");
|
||||
}
|
||||
_tankProperties.bind();
|
||||
_impl->bind();
|
||||
}
|
||||
_tankProperties.bind();
|
||||
}
|
||||
|
||||
void FDMShell::unbind()
|
||||
|
|
|
@ -541,9 +541,9 @@ FGGeneric::reinit()
|
|||
SGPropertyNode root;
|
||||
try {
|
||||
readProperties(path.str(), &root);
|
||||
} catch (const sg_exception &) {
|
||||
} catch (const sg_exception & ex) {
|
||||
SG_LOG(SG_GENERAL, SG_ALERT,
|
||||
"Unable to load the protocol configuration file");
|
||||
"Unable to load the protocol configuration file: " << ex.getFormattedMessage() );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue