Skip to content

Commit 238ddb7

Browse files
authored
release: 1.5.6 (#300)
2 parents d36efa2 + 91e0821 commit 238ddb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/org/gitanimals/rank/infra/UpdateUserContributionMessageListener.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ class UpdateUserContributionMessageListener(
2929
UserContributionUpdated::class.java,
3030
)
3131

32-
val user = identityApi.getUserByName(userContributionUpdated.username)
32+
val user = runCatching {
33+
identityApi.getUserByName(userContributionUpdated.username)
34+
}.getOrElse { return }
3335

3436
val updatedUserContributionRank = UserContributionRank.create(
3537
image = user.profileImage,

0 commit comments

Comments
 (0)