FunctionClauseError in MastodonAPI.StatusView.render with Misskey
Backend version: latest from develop branch.
PostgreSQL version: 12.3
Elixir version:
Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1]
Elixir 1.10.4 (compiled with Erlang/OTP 22)
Reading log, I've found some backtraces. Not sure if this was expected. \Can't reproduce either since it wasn't happened to me, it just log.
(Note: log is upside down, thanks to systemd)
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:6: Pleroma.Web.MastodonAPI.StatusV>
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:300: Pleroma.Web.MastodonAPI.Statu>
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:2127: Enum.map/2
июл 21 17:17:41 OwO mix[23516]: (stdlib 3.13) maps.erl:233: :maps.fold_1/3
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:300: anonymous fn({"⭐", ["https:/>
июл 21 17:17:41 OwO mix[23516]: ** (FunctionClauseError) no function clause matching in anonymous fn/1 in Pleroma.Web.MastodonAPI.StatusView.render/2
июл 21 17:17:41 OwO mix[23516]: 17:17:41.561 request_id=FiPNglR_xc0hizkAJ3KD [error] Elixir.Pleroma.Web.MastodonAPI.StatusView failed to render {Pleroma.Web.Mastodo>
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:6: Pleroma.Web.MastodonAPI.StatusV>
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:300: Pleroma.Web.MastodonAPI.Statu>
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:2127: Enum.map/2
июл 21 17:17:41 OwO mix[23516]: (stdlib 3.13) maps.erl:233: :maps.fold_1/3
июл 21 17:17:41 OwO mix[23516]: (elixir 1.10.4) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
июл 21 17:17:41 OwO mix[23516]: (pleroma 2.0.50-2124-g6bedfd81-emr-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:300: anonymous fn({"🐁", ["https:/>
июл 21 17:17:41 OwO mix[23516]: ** (FunctionClauseError) no function clause matching in anonymous fn/1 in Pleroma.Web.MastodonAPI.StatusView.render/2