Minor change to use as.error() to throw and set error_info. Added temporary trace for Travis CI error debugging