We need it because the first entry (the app) can be (in fact normally is)
nil.


On Wed, Jan 22, 2014 at 1:54 AM, José Valim <notifications@github.com>wrote:

> In lib/elixir/lib/exception.ex:
>
> > @@ -216,35 +216,46 @@ defmodule Exception do
> >    @doc """
> >    Receives a tuple representing a stacktrace entry and formats it.
> >    """
> > -  def format_stacktrace_entry(entry)
> > +  def format_stacktrace_entry(entry) do
> > +    format_stacktrace_entry_into_fields(entry)
> > +    |> Enum.filter(&(&1))
>
> Do we need this filter? It doesn't look like we can have nils in there.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/elixir-lang/elixir/pull/2011/files#r9069909>
> .
>