Skip to content

Commit

Permalink
FLUID-5807: Better diagnostics in case of failed context resolution -…
Browse files Browse the repository at this point in the history
… dump path to root also
  • Loading branch information
amb26 committed Nov 9, 2015
1 parent 278da17 commit bbe9378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/core/js/FluidIoC.js
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ var fluid_2_0_0 = fluid_2_0_0 || {};
if (!foundComponent && parsed.path !== "") {
var ref = fluid.renderContextReference(parsed);
fluid.fail("Failed to resolve reference " + ref + " - could not match context with name " +
context + " from component " + fluid.dumpThat(parentThat), parentThat);
context + " from component " + fluid.dumpThat(parentThat) + " at path " + fluid.pathForComponent(parentThat).join(".") + " component: " , parentThat);
}
return fluid.getForComponent(foundComponent, parsed.path);
};
Expand Down

0 comments on commit bbe9378

Please sign in to comment.