diff --git a/src/BirdsiteLive.Twitter/TwitterUserService.cs b/src/BirdsiteLive.Twitter/TwitterUserService.cs index 7fb6439..8505ed3 100644 --- a/src/BirdsiteLive.Twitter/TwitterUserService.cs +++ b/src/BirdsiteLive.Twitter/TwitterUserService.cs @@ -35,7 +35,7 @@ namespace BirdsiteLive.Twitter public TwitterUser GetUser(string username) { //Check if API is saturated - if (IsUserApiRateLimited()) return null; + if (IsUserApiRateLimited()) throw new RateLimitExceededException(); //Proceed to account retrieval _twitterAuthenticationInitializer.EnsureAuthenticationIsInitialized();