Skip to content

Commit

Permalink
Merge pull request #3524 from verveerpj/fix-table-error-msgs
Browse files Browse the repository at this point in the history
Fix table-related error messages
  • Loading branch information
blattms authored Jul 5, 2023
2 parents 13e4394 + fb4514a commit 98fe4e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/opm/input/eclipse/EclipseState/Tables/TableManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,8 @@ std::optional<JFunc> make_jfunc(const Deck& deck) {
container.addTable( tableIdx , table );
} catch (const std::runtime_error& err) {
throw OpmInputError(err, tableKeyword.location());
} catch (const std::invalid_argument& err) {
throw OpmInputError(err, tableKeyword.location());
}
}
}
Expand Down

0 comments on commit 98fe4e4

Please sign in to comment.