Update redcapProjectInfo.R

Improve the error output to indicate which function cast the error.