       :error ->
         {:error, %TrackerInfo{}}
 
-      _ ->
+      :ok ->
         {:ok,
          %TrackerInfo{
            interval: track_resp["interval"],

      |> Bento.torrent!()

    JDLogger.debug(@logger, "Metadata: #{inspect(torrent_metadata)}")
    #    torrent_data = create_initial_data(id, filename, torrent_metadata)
    torrent_data = %TorrentData{}
    JDLogger.debug(@logger, "Data: #{inspect(torrent_data)}")

    GenServer.start_link(

        next_piece_index: 0,
        connected_peers: []
      }
    end
  end

