It's not so much displaying something to the user, but knowing whether we got no results because there are currently no sections for the course or because there was an error in getting the sections. If I click on the 'Manage Sections' button in a course with no sections, it looks like the call returns 500, which seems wrong.