nickreich / coarseDataTools

An R package for analyzing censored and under-reported surveillance data.

Home Page:http://nickreich.github.io/coarseDataTools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error handling throughout code obfuscates true errors

jlessler opened this issue · comments

Some error messages are just not informative, but more insidious is the pervasive tendency for the trycatch logic to mask the underlying error in favor of a less informative error message that cannot be tracebacked. Particularly a problem in dic.fit where legitimate errors from optim will not be reported correctly.