aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/qlc.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 16:16:34 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:27:20 +0200
commita71c186fcc9e4592016c1b2c146db7b70ee0755a (patch)
tree4726e01fef4c2f432f4d1934ab5632e6f77e6422 /lib/stdlib/src/qlc.erl
parentf33f832d85584ffdbecf16bee8023e80c3af15ea (diff)
downloadotp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.tar.gz
otp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.tar.bz2
otp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.zip
Move error formatting to erl_error.erl and delete lib.erl
Diffstat (limited to 'lib/stdlib/src/qlc.erl')
-rw-r--r--lib/stdlib/src/qlc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/qlc.erl b/lib/stdlib/src/qlc.erl
index 77607494e3..4a0e976ba4 100644
--- a/lib/stdlib/src/qlc.erl
+++ b/lib/stdlib/src/qlc.erl
@@ -3749,7 +3749,7 @@ maybe_error_logger(Name, Why) ->
expand_stacktrace(),
Trimmer = fun(M, _F, _A) -> M =:= erl_eval end,
Formater = fun(Term, I) -> io_lib:print(Term, I, 80, -1) end,
- X = lib:format_stacktrace(1, Stacktrace, Trimmer, Formater),
+ X = erl_error:format_stacktrace(1, Stacktrace, Trimmer, Formater),
error_logger:Name("qlc: temporary file was needed for ~w\n~ts\n",
[Why, lists:flatten(X)]).