diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-02 12:17:48 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-02 12:17:48 +0200 |
commit | 9b120d4291cc03d34cac5f6dec42e81bd63704af (patch) | |
tree | a4d788955c4c77f8136e714156641c130c608747 /lib | |
parent | 9a32ce6f80a22e8a683599ca8060255cd982d4df (diff) | |
parent | b22ecf19e81baac844878afd896ebbdda4266a84 (diff) | |
download | otp-9b120d4291cc03d34cac5f6dec42e81bd63704af.tar.gz otp-9b120d4291cc03d34cac5f6dec42e81bd63704af.tar.bz2 otp-9b120d4291cc03d34cac5f6dec42e81bd63704af.zip |
Merge branch 'mh/dialyzer-scan-error/OTP-10996' into maint
* mh/dialyzer-scan-error/OTP-10996:
Improve Dialyzer output for scan errors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dialyzer/src/dialyzer_analysis_callgraph.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl index 86618a4915..ca6b403ac9 100644 --- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl +++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl @@ -261,8 +261,8 @@ compile_and_store(Files, #analysis_state{codeserver = CServer, dict:new(), NewFiles), check_for_duplicate_modules(ModDict); false -> - Msg = io_lib:format("Could not scan the following file(s): ~p", - [lists:flatten(Failed)]), + Msg = io_lib:format("Could not scan the following file(s):~n~s", + [[Reason || {_Filename, Reason} <- Failed]]), exit({error, Msg}) end, {T2, _} = statistics(runtime), |