Wrap error msg (but not prompt) in a 500 response

Addresses #131.
Merge pull request #138 from OpenTreeOfLife/indexing-url-fixes

Wrap error msg (but not prompt) in a 500 response (indexing)