Skip to content
Snippets Groups Projects
Commit a9245df6 authored by Norbert Grunwald's avatar Norbert Grunwald
Browse files

[TH2M/PT] More information in case of ogs_fatal helps to find prj-error

parent d59411bf
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,10 @@ int findComponentIndex( ...@@ -46,8 +46,10 @@ int findComponentIndex(
// solvate. // solvate.
OGS_FATAL( OGS_FATAL(
"PhaseTransitionModel::findComponentIndex could not find the " "PhaseTransitionModel: findComponentIndex() could not find the "
"specified property type in the phase."); "specified property type '{:s}' in phase '{:s}'.",
MaterialPropertyLib::property_enum_to_string[property_type],
phase_name);
} }
} // namespace TH2M } // namespace TH2M
} // namespace ProcessLib } // namespace ProcessLib
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment