Is there a way to have all the "ALERT: PayPal Direct Payment Error"s write to the db?

Thanks