fixed SightstoneApiException call

This commit is contained in:
danijoo
2014-01-16 23:21:40 +01:00
parent 88afe1e538
commit e47b5583bf
2 changed files with 4 additions and 4 deletions

View File

@@ -29,9 +29,9 @@ class SightstoneBaseModule
elsif response_code == 429
raise RateLimitExceededException
elsif response_code == 401
raise InvalidApiKeyException
raise InvalidApiKeyException
else
raise SightstoneApiException 'Unknown error occured'
raise SightstoneApiException
end
end