Send user data from onerror handler as well.