Skip to content

Commit

Permalink
Use exception in VideoEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
liviu-timar committed Jun 11, 2024
1 parent aece3a5 commit d44d256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class VideoEventAdapter : JsonAdapter<VideoEvent>() {
"user.reactivated" -> UserReactivatedEvent::class.java
"user.unbanned" -> UserUnbannedEvent::class.java
"user.updated" -> UserUpdatedEvent::class.java
else -> UnknownVideoEvent(type)::class.java
else -> throw UnsupportedVideoEventException(type)
}
}
}
Expand Down

0 comments on commit d44d256

Please sign in to comment.