surface LMS endpoint errors explicitly.

@e0d @gwprice 
@nasthagiri FYI

The lack of good handling for non-200 responses burned some time today, this should prevent similar issues in the future.