Check for 'error' more carefully