aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_run.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-07-06 12:23:00 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:02:26 +0200
commitb9ff792d5d2c77e05773672e45a31dfeca18d527 (patch)
treeadd8f9e97c3708f57724e154188b9460e0fe6104 /lib/edoc/src/edoc_run.erl
parent080cda86ca973abe172179c006999802a11614e9 (diff)
downloadotp-b9ff792d5d2c77e05773672e45a31dfeca18d527.tar.gz
otp-b9ff792d5d2c77e05773672e45a31dfeca18d527.tar.bz2
otp-b9ff792d5d2c77e05773672e45a31dfeca18d527.zip
edoc: Improve handling of Unicode
Diffstat (limited to 'lib/edoc/src/edoc_run.erl')
-rw-r--r--lib/edoc/src/edoc_run.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edoc/src/edoc_run.erl b/lib/edoc/src/edoc_run.erl
index c88c6cfd78..50aba0a930 100644
--- a/lib/edoc/src/edoc_run.erl
+++ b/lib/edoc/src/edoc_run.erl
@@ -150,7 +150,7 @@ file(Args) ->
-spec invalid_args(string(), args()) -> no_return().
invalid_args(Where, Args) ->
- report("invalid arguments to ~ts: ~w.", [Where, Args]),
+ report("invalid arguments to ~ts: ~tw.", [Where, Args]),
shutdown_error().
run(F) ->
@@ -159,10 +159,10 @@ run(F) ->
{ok, _} ->
shutdown_ok();
{'EXIT', E} ->
- report("edoc terminated abnormally: ~P.", [E, 10]),
+ report("edoc terminated abnormally: ~tP.", [E, 10]),
shutdown_error();
Thrown ->
- report("internal error: throw without catch in edoc: ~P.",
+ report("internal error: throw without catch in edoc: ~tP.",
[Thrown, 15]),
shutdown_error()
end.