Obviously people here disagree but I thought it was a foul. In fact, it's pretty obvious it was a foul. So I have no problems with the call.
And frankly, hitting a shooter's elbow is a more egregious violation than many other plays with much more contact. It's a no brainer kind of call and not one where you can reasonably expect the shooter to recover from. I've had my elbow hit on shots and basically, you're pretty much done.
Now one can argue that they shouldn't call it in that instance. I don't agree, especially for that kind of play, but you can argue it I guess. Either way, who am I to complain about a correct call.