Skip to content
Permalink
Browse files
Minor logging improvement
  • Loading branch information
DImuthuUpe committed Sep 2, 2021
1 parent 079fba8 commit 6232bd0f29831d556f8134baff9218bc8aeb9aa7
Showing 1 changed file with 3 additions and 2 deletions.
@@ -113,11 +113,12 @@ public TaskResult runBlockingCode() {
}

if (path.startsWith("$")) {
path = getUserContent(path.substring(1), Scope.WORKFLOW);
if (path == null) {
String derivedPath = getUserContent(path.substring(1), Scope.WORKFLOW);
if (derivedPath == null) {
logger.error("No value in context to path {} for {}", path, dpi.getParserInputInterfaceId());
return new TaskResult(TaskResult.Status.FAILED, "No value specified in context for path");
}
path = derivedPath;
}

try {

0 comments on commit 6232bd0

Please sign in to comment.