From 446ca91d502ae574f0e688f8e5b4f236c64719d5 Mon Sep 17 00:00:00 2001 From: Brendan Hay Date: Fri, 11 Nov 2011 16:30:14 +0100 Subject: [PATCH] Prefixing alist/3 error to make it compile on R13A --- src/lager_trunc_io.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lager_trunc_io.erl b/src/lager_trunc_io.erl index 9eef041..cd0d6c9 100644 --- a/src/lager_trunc_io.erl +++ b/src/lager_trunc_io.erl @@ -283,7 +283,7 @@ alist([H|T], Max, #print_options{force_strings=true} = Options) when is_integer( {L, Len} = alist(T, Max-1, Options), {[H|L], Len + 1}; alist(_, _, #print_options{force_strings=true}) -> - error(badarg); + erlang:error(badarg); alist(_L, _Max, _Options) -> throw(unprintable).