blockMesh: Improved error message

This commit is contained in:
Henry Weller
2021-07-02 16:45:27 +01:00
parent c63c1a90c2
commit 609d1839ad

View File

@ -154,7 +154,7 @@ int main(int argc, char *argv[])
if (!meshDictIO.typeHeaderOk<IOdictionary>(true))
{
FatalErrorInFunction
<< meshDictIO.localObjectPath()
<< "Cannot find file " << meshDictIO.localObjectPath()
<< nl
<< exit(FatalError);
}