mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
surfaceMeshConvert: Reinstated missing error messages
This commit is contained in:
@ -197,6 +197,7 @@ int main(int argc, char *argv[])
|
|||||||
if (!csDictIoPtr->headerOk())
|
if (!csDictIoPtr->headerOk())
|
||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
|
<< "Cannot open coordinateSystems file\n "
|
||||||
<< csDictIoPtr->objectPath() << nl
|
<< csDictIoPtr->objectPath() << nl
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
@ -240,6 +241,7 @@ int main(int argc, char *argv[])
|
|||||||
if (fromCsys.valid() && toCsys.valid())
|
if (fromCsys.valid() && toCsys.valid())
|
||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
|
<< "Only allowed '-from' or '-to' option at the moment."
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user