Skip to content

Commit 5efa6f2

Browse files
skuttlemanbryantgrayhumbamp123
committed
Grab error list changes from v5
Co-authored-by: Bryant Gray <bryant.gray@qlik.com> Co-authored-by: Andres Pineda <andres.pineda@qlik.com>
1 parent ef3ff6d commit 5efa6f2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

singer/transform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ def _transform_anyof(self, data, schema, path):
185185
success, transformed_data = self.transform_recur(data, subschema, path)
186186
if success:
187187
return success, transformed_data
188+
else:
189+
self.errors.pop()
188190
else: # pylint: disable=useless-else-on-loop
189191
# exhaused all schemas and didn't return, so we failed :-(
190192
self.errors.append(Error(path, data, schema, logging_level=LOGGER.level))

0 commit comments

Comments
 (0)