aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-08-24 12:20:41 -0500
committerTristan Sloughter <[email protected]>2015-08-24 12:21:04 -0500
commitc9e6f3d8024149b13c3d1a527e2046aa75ba5f20 (patch)
tree5f380cc1567203dcedd895c198e2e8d7f040dbef
parent5ba6c38e8fa911b2fe5ee90896b23f1b409e6256 (diff)
downloadrelx-c9e6f3d8024149b13c3d1a527e2046aa75ba5f20.tar.gz
relx-c9e6f3d8024149b13c3d1a527e2046aa75ba5f20.tar.bz2
relx-c9e6f3d8024149b13c3d1a527e2046aa75ba5f20.zip
fix error message for template file that doesn't exist
-rw-r--r--src/rlx_prv_overlay.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_overlay.erl b/src/rlx_prv_overlay.erl
index 6c27b5c..412e5ba 100644
--- a/src/rlx_prv_overlay.erl
+++ b/src/rlx_prv_overlay.erl
@@ -472,7 +472,7 @@ write_template(OverlayVars, FromFile, ToFile) ->
Error
end;
{error, Error} ->
- ?RLX_ERROR({read_template, Error})
+ ?RLX_ERROR({read_template, FromFile, Error})
end.
render_string(OverlayVars, Data) ->