Should include an error message - right now if this throws you get an empty string which is not useful to figure out how you screwed up.