mirror of https://github.com/usbharu/Hideout.git
Merge pull request #136 from usbharu/bugfix/timeline-duplicate-exception
fix: タイムライン重複判定で発生する例外のcatchの失敗を修正
This commit is contained in:
commit
381d07bf62
|
@ -1,6 +1,5 @@
|
|||
package dev.usbharu.hideout.core.service.post
|
||||
|
||||
import com.mongodb.DuplicateKeyException
|
||||
import dev.usbharu.hideout.activitypub.service.activity.create.ApSendCreateService
|
||||
import dev.usbharu.hideout.core.domain.exception.UserNotFoundException
|
||||
import dev.usbharu.hideout.core.domain.model.post.Post
|
||||
|
@ -10,6 +9,7 @@ import dev.usbharu.hideout.core.query.PostQueryService
|
|||
import dev.usbharu.hideout.core.service.timeline.TimelineService
|
||||
import org.jetbrains.exposed.exceptions.ExposedSQLException
|
||||
import org.slf4j.LoggerFactory
|
||||
import org.springframework.dao.DuplicateKeyException
|
||||
import org.springframework.stereotype.Service
|
||||
import java.time.Instant
|
||||
|
||||
|
|
Loading…
Reference in New Issue