[erlang-questions] [BUG?] superfluous values for io:format cause process to block
Vlad Dumitrescu
vladdu55@REDACTED
Sun Jul 29 11:48:16 CEST 2007
Hi,
On 7/29/07, Matej Kosik <kosik@REDACTED> wrote:
> t22() ->
> io:format("DEBUG before~n"),
> io:format("", [whatever]),
> io:format("DEBUG after~n").
What happens is that the second io:format crashes the process. Try it
in the shell and you'll see the exact error: the format string can't
be empty. You might want to have a "~w" instead.
best regards,
Vlad
More information about the erlang-questions
mailing list