Skip to content
Snippets Groups Projects
Commit 0b56ae37 authored by Lars Kaiser's avatar Lars Kaiser Committed by Timo Koch
Browse files

[LoggingParameterTree] Add the group prefix to the exception message for missing parameters

If a parameter is missing in a parameter group, the group prefix is printed together with the parameter name.
parent 487a3363
No related branches found
No related tags found
1 merge request!3783[LoggingParameterTree] Add the group prefix to the exception message for missing parameters
Pipeline #43836 passed
Pipeline: dumux

#43842

    Pipeline: dumux

    #43841

      Pipeline: dumux-lecture

      #43840

        +3
        ...@@ -485,7 +485,7 @@ public: ...@@ -485,7 +485,7 @@ public:
        return defaultParams_.template get<T>(key); return defaultParams_.template get<T>(key);
        } }
        DUNE_THROW(Dumux::ParameterException, "Key " << key << " not found in the parameter tree"); DUNE_THROW(Dumux::ParameterException, "Key " << key << " not found in the parameter tree with group prefix " << groupPrefix);
        } }
        } }
        ......
        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