Skip to content

Commit

Permalink
print resolved path.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Oct 28, 2023
1 parent 5b555e8 commit fe8af50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/composition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,10 @@ bool LoadAsset(AssetResolutionResolver &resolver,
}

if (!layer.find_primspec_at(Path(default_prim, ""), &src_ps, err)) {
DCOUT("layer = " << to_string(layer));
PUSH_ERROR_AND_RETURN(
fmt::format("Failed to find PrimSpec `{}` in layer `{}`", default_prim,
asset_path));
fmt::format("Failed to find PrimSpec `{}` in layer `{}`(resolved path: `{}`)", default_prim,
asset_path, resolved_path));
}

if (!src_ps) {
Expand Down

0 comments on commit fe8af50

Please sign in to comment.