fixing throttle error handling for ruby 1.9