Closes #2. Handles error when retrieving course.