mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: functionObjectList: format errors from FO reading. Fixes #575.
This commit is contained in:
@ -788,8 +788,9 @@ bool Foam::functionObjectList::read()
|
||||
}
|
||||
catch (Foam::error& err)
|
||||
{
|
||||
WarningInFunction
|
||||
<< "Caught FatalError " << err << nl << endl;
|
||||
// Bit of trickery to get the original message
|
||||
err.write(Warning, false);
|
||||
InfoInFunction << nl << endl;
|
||||
}
|
||||
|
||||
// Restore previous exception throwing state
|
||||
|
||||
Reference in New Issue
Block a user