aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2016-08-31 19:35:12 +0200
committerTuncer Ayaz <[email protected]>2016-08-31 20:02:22 +0200
commit6da22ec1d08090c038340e4acf4d96390cd74e9d (patch)
tree894cb21033cd0b1611dd9492a0dd4c765c63542a /lib
parent85234b4069c9b75e3ae5ddf643b981d7428fb81f (diff)
downloadotp-6da22ec1d08090c038340e4acf4d96390cd74e9d.tar.gz
otp-6da22ec1d08090c038340e4acf4d96390cd74e9d.tar.bz2
otp-6da22ec1d08090c038340e4acf4d96390cd74e9d.zip
Print on_load error in a more useful style
When printing the error term from on_load, insert a newline because the term is never short and will produce hard to read/copy output that is just hanging off to the right.
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/code_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code_server.erl b/lib/kernel/src/code_server.erl
index 48541ec500..3f220f4a6c 100644
--- a/lib/kernel/src/code_server.erl
+++ b/lib/kernel/src/code_server.erl
@@ -1414,7 +1414,7 @@ finish_on_load_report(Mod, Term) ->
%% from the code_server process.
spawn(fun() ->
F = "The on_load function for module "
- "~s returned ~P\n",
+ "~s returned:~n~P\n",
%% Express the call as an apply to simplify
%% the ext_mod_dep/1 test case.