Split error message into multiple lines

This commit is contained in:
Markus Blatt
2021-01-28 16:43:24 +01:00
parent ac1757d2c0
commit 143ae344f5
+5 -5
View File
@@ -494,11 +494,11 @@ public:
{
if (myRank == 0)
{
std::string message = std::string("Option --allow-distributed-wells=true is only allowed ")
+ "if model only has only standard wells."
+ "You need to provide option "
+ " with --enable-multisegement-wells=false to treat "
+ "existing multisegment wells as standard wells.";
std::string message =
std::string("Option --allow-distributed-wells=true is only allowed if model\n")
+ "only has only standard wells. You need to provide option \n"
+ " with --enable-multisegement-wells=false to treat existing \n"
+ "multisegment wells as standard wells.";
OpmLog::error(message);
}
comm.barrier();