error logging added on delete message