X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Felasticsearch%2Fstore.ex;h=98c88a7c722f70149ed41809d6167565f910af5e;hb=142646426e1830ac0e0461075a99a27ac5813ceb;hp=648bf1642de40afcd1b562bd376351c30d57bc25;hpb=34780cf18227637ec07dbc2f0bba9c2e92bfc21b;p=akkoma diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex index 648bf1642..98c88a7c7 100644 --- a/lib/pleroma/elasticsearch/store.ex +++ b/lib/pleroma/elasticsearch/store.ex @@ -1,3 +1,7 @@ +# Akkoma: A lightweight social networking server +# Copyright © 2022-2022 Akkoma Authors +# SPDX-License-Identifier: AGPL-3.0-only + defmodule Pleroma.Elasticsearch do alias Pleroma.Activity alias Pleroma.User @@ -130,8 +134,7 @@ defmodule Pleroma.Elasticsearch do Logger.error("Could not bulk put activity: #{err}") :skipped - {:ok, %{body: body}} -> - IO.inspect(body) + {:ok, %{body: _}} -> :skipped end end @@ -161,8 +164,7 @@ defmodule Pleroma.Elasticsearch do Logger.error("Could not bulk put users: #{err}") :skipped - {:ok, %{body: body}} -> - IO.inspect(body) + {:ok, %{body: _}} -> :skipped end end @@ -191,8 +193,7 @@ defmodule Pleroma.Elasticsearch do Logger.error("Could not bulk put hashtags: #{err}") :skipped - {:ok, %{body: body}} -> - IO.inspect(body) + {:ok, %{body: _}} -> :skipped end end