Add logs for SafeBatch errors