fix: #195 ActivityPubProcessor not found. の例外メッセージをわかりやすく

This commit is contained in:
usbharu 2023-12-07 16:02:12 +09:00
parent d05e8cf68b
commit c4798d7803
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class InboxJobProcessor(
if (activityPubProcessor == null) { if (activityPubProcessor == null) {
logger.warn("ActivityType {} is not support.", param.type) logger.warn("ActivityType {} is not support.", param.type)
throw IllegalStateException("ActivityPubProcessor not found.") throw IllegalStateException("ActivityPubProcessor not found. type: ${param.type}")
} }
val value = objectMapper.treeToValue(jsonNode, activityPubProcessor.type()) val value = objectMapper.treeToValue(jsonNode, activityPubProcessor.type())