Skip to content
Snippets Groups Projects
Commit 6a7ef513 authored by Julian Tusch's avatar Julian Tusch :no_entry_sign:
Browse files

add suggested not null check

parent c692fab7
No related branches found
No related tags found
1 merge request!524Fix missing rootprofile defaults logging
Pipeline #22699 passed
...@@ -13,6 +13,7 @@ namespace armarx ...@@ -13,6 +13,7 @@ namespace armarx
// replace constructor if you want to have a specific logging tag // replace constructor if you want to have a specific logging tag
Logging::setTag("armarx::skills::" + description.skillId.toString()); Logging::setTag("armarx::skills::" + description.skillId.toString());
ARMARX_CHECK_NOT_NULL(desc.rootProfileDefaults);
if (!desc.rootProfileDefaults->fullfillsType(desc.parametersType)) if (!desc.rootProfileDefaults->fullfillsType(desc.parametersType))
{ {
ARMARX_WARNING << "Missing root profile defaults for skill " << desc.skillId; ARMARX_WARNING << "Missing root profile defaults for skill " << desc.skillId;
......
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