mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

キター!!

2023-03-01T21:38:23.972275+00:00 app[web.1]: [9e78cdb9-845d-4905-98a3-e24b63b32f93]

method=GET path=/api/v1/notifications format=html controller=Api::V1::NotificationsController action=index status=500 error='NoMethodError: undefined method `fetch_value' for nil:NilClass' duration=148.02 view=0.00 db=23.57

NoMethodError (undefined method `fetch_value' for nil:NilClass):

app/controllers/concerns/cache_concern.rb:38:in `cache_collection'
app/controllers/api/v1/notifications_controller.rb:40:in `block in load_notifications'
app/models/notification.rb:117:in `preload_cache_collection_target_statuses'
app/controllers/api/v1/notifications_controller.rb:39:in `load_notifications'
app/controllers/api/v1/notifications_controller.rb:12:in `index'
app/controllers/concerns/localized.rb:11:in `set_locale'
lib/mastodon/rack_middleware.rb:9:in `call'

うりゃー

$ heroku config:set BACKTRACE=1

ログ溢れるかもだけどしらばらくBACKTRACE=1にしておこう

そうそう、今回分のいくつかの500になったリクエストのログです
https://gist.github.com/zunda/f7745481d353eea357f4096088c156d9

idとupdated_atしかないStatusが来るパターンかな?今回はordered_media_attachment_ids: nilになっているものはなかった。

Gist213823.txtGitHub Gist: instantly share code, notes, and snippets.