add missing onPhotoUploadFailure callback