Better error reporting through com_err