              )
 
     assert ^transaction =
-             Transaction.set_error(transaction, "Error", "error message", System.stacktrace())
+             Transaction.set_error(transaction, "Error", "error message", stacktrace())
 
     assert ^transaction = Transaction.set_sample_data(transaction, "key", %{user_id: 1})
     assert ^transaction = Transaction.set_action(transaction, "GET:/")

      assert Transaction.to_map(transaction)["namespace"] == "background"
    end
  end
end

               1
             )

    assert ^transaction = Transaction.set_error("Error", "error message", stacktrace)
    assert ^transaction = Transaction.set_sample_data("key", %{user_id: 1})
    assert ^transaction = Transaction.set_action("GET:/")
    assert ^transaction = Transaction.set_queue_start(1000)
