catch generic exceptions when fetching export

http://manage.dimagi.com/default.asp?88777