if there is error in paypal the written it to log