We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d36efa2 + 91e0821 commit 238ddb7Copy full SHA for 238ddb7
src/main/kotlin/org/gitanimals/rank/infra/UpdateUserContributionMessageListener.kt
@@ -29,7 +29,9 @@ class UpdateUserContributionMessageListener(
29
UserContributionUpdated::class.java,
30
)
31
32
- val user = identityApi.getUserByName(userContributionUpdated.username)
+ val user = runCatching {
33
+ identityApi.getUserByName(userContributionUpdated.username)
34
+ }.getOrElse { return }
35
36
val updatedUserContributionRank = UserContributionRank.create(
37
image = user.profileImage,
0 commit comments