Skip to content

Commit

Permalink
fixed missing string format call on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Oct 15, 2018
1 parent 15429a0 commit 60b8062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/deref.d
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Dereferencer {
debug(deref) printDebug(["path": &path, "s": &s]);

if(path[0] != '/')
throw new Exception(ERR_ILLEGAL_REF);
throw new Exception(format(ERR_ILLEGAL_REF, path, s.getPath()));

return localResolve(path, s);
}
Expand Down

0 comments on commit 60b8062

Please sign in to comment.