Changed error message.

This commit is contained in:
Joakim Hove
2015-08-07 12:00:26 +02:00
parent 35d22ca526
commit a79754bc1a

View File

@@ -176,7 +176,7 @@ namespace Opm {
auto action = parseMode.unsupportedScheduleGeoModifiers;
if (action != InputError::IGNORE) {
std::string msg = "OPM does not support grid property modifiers in the Schedule section";
std::string msg = "OPM does not support grid property modifier " + keyword->name() + " in the Schedule section. Error at report: " + std::to_string( currentStep );
if (action == InputError::THROW_EXCEPTION)
throw std::invalid_argument( msg );
else if (action == InputError::WARN)