write paypal api error info to the log