aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_log.erl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-07 22:12:14 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-07 22:12:14 +0300
commit80beb6d6f602d80c6a17cb8c660540d959fa9528 (patch)
tree7643cdebd6eec7dc3d9b6a6b3b57eaab1e3846ab /src/mod_muc_log.erl
parentFix return type in try_set_password() (diff)
Improve formatting of exceptions
Diffstat (limited to '')
-rw-r--r--src/mod_muc_log.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_log.erl b/src/mod_muc_log.erl
index 2ad8475fc..79d31c360 100644
--- a/src/mod_muc_log.erl
+++ b/src/mod_muc_log.erl
@@ -503,7 +503,7 @@ create_image_files(Images_dir) ->
case file:copy(Src, Dst) of
{ok, _} -> ok;
{error, Why} ->
- ?ERROR_MSG("Failed to copy ~s to ~s",
+ ?ERROR_MSG("Failed to copy ~s to ~s: ~s",
[Src, Dst, file:format_error(Why)])
end
end, Filenames).