How to conceal error message on bio length?
Hello,
I am getting the same error messages over and over in my Pleroma logs, from what I gathered this is because my instance has a user_bio_length
of 1000.
errors: [bio: {"should be at most %{count} character(s)", [count: 1000, validation: :length, kind: :max, type: :string]}],
In context:
May 10 22:49:05 datura mix[21479]: Request: POST /inbox
May 10 22:49:05 datura mix[21479]: ** (exit) an exception was raised:
May 10 22:49:05 datura mix[21479]: ** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3
May 10 22:49:05 datura mix[21479]: (plug 1.9.0) lib/plug/conn.ex:577: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{digest: "SHA-256=8eg14h8V6pm3KMmqDN6NnKG0swI476MlmsTPTpga6f4=", kind: :error, layout: false, locale: "en", reason: %MatchError{term: {:error, #Ecto.Changeset<action: :update, changes: %{bio:
[..]
errors: [bio: {"should be at most %{count} character(s)", [count: 1000, validation: :length, kind: :max, type: :string]}],
[..]
Is there any way to tell Pleroma not to log those messages? I am quite happy with my 1000 characters limit and would like to keep it that way. I'm on Pleroma 2.0.4