Need Error Message

Is there any way, if a silent update check or update fails, to get the error message instead of just '1'?