dimagi/casexml — pull request #189 by twymer (2014-02-24 17:48:39+00:00)
Title: Fix error handling on aggregate status report

Previously the catch block was a little too aggressive. It was swallowing a
real error (since aggregate reports pass a float, not a decimal). Now we
prevent the original possible errors by converting no matter what the type is
and checking for zero/null values first.