Only set error contents when requested