bug: pass error object for upload retry event