diff --git a/DysonNetwork.Sphere/Poll/PollService.cs b/DysonNetwork.Sphere/Poll/PollService.cs index c6fd649..e1ddb42 100644 --- a/DysonNetwork.Sphere/Poll/PollService.cs +++ b/DysonNetwork.Sphere/Poll/PollService.cs @@ -95,7 +95,7 @@ public class PollService(AppDatabase db, ICacheService cache) answer[questionId].ValueKind != JsonValueKind.False: throw new Exception($"Answer for question {question.Title} expected to be a boolean"); default: - throw new ArgumentOutOfRangeException(); + throw new ArgumentOutOfRangeException("Question type is not supported: " + question.Type); } } }