anchor.diff:    deliver_payload(jsx:encode(Payload)).
   
   
  +process_trace(undefined) -> [];
  +process_trace(Trace) ->
  +  lager:info("Processing trace ~p", [Trace]),
  +  process_trace(Trace, []).
  +
  +process_trace([], ProcessedTrace) -> ProcessedTrace;
  +process_trace([Current|Rest], ProcessedTrace) ->
  +  {_, F, _, [{file, File}, {line, Line}]} = Current,
  +  StackTraceLine = [
  +    {file, list_to_binary(File)},
  +    {lineNumber, Line},
  +    {method, list_to_binary(io_lib:format("~p", [F]))}
  +  ],
  +  process_trace(Rest, ProcessedTrace ++ [StackTraceLine]).
  +
  +
   deliver_payload(Payload) ->
  -  lager:debug("Sending exception: ~p", [Payload]),
  +  lager:info("Sending exception: ~p", [Payload]),
     case httpc:request(post, {?NOTIFY_ENDPOINT, [], "application/json", Payload}, [{timeout, 5000}], []) of
       {ok, {{_Version, 200, _ReasonPhrase}, _Headers, Body}} ->
  -      lager:debug("Error sent. Response: ~p", [Body]);
  +      lager:info("Error sent. Response: ~p", [Body]);
       {_, {{_Version, Status, ReasonPhrase}, _Headers, _Body}} ->
         lager:error("Failed to send error to bugsnag (~p : ~p)", [Status, ReasonPhrase])
     end,
  
positive.code:               [
                  {errorClass, list_to_binary(io_lib:format("~p", [Reason]))},
                  {message, list_to_binary(io_lib:format("~p", [Message]))},
                  {stacktrace, [
                      [
                        {file, list_to_binary(FileName)},
                        {lineNumber, Line},
                        {method, list_to_binary(FunctionName)}
                      ]
                    ]
                  }
                ]
              ]}
          ]
  
negative.code:   {reply, ok, State}.
  
  handle_cast({exception, Type, Reason, Message, Module, Line, Trace, Request}, State) ->
    send_exception(Type, Reason, Message, Module, Line, Trace, Request, State),
    {noreply, State};
  
  handle_cast({test_error}, State) ->
  