Skip to content

Commit d6c8c28

Browse files
committed
extend exception
1 parent 83c12c8 commit d6c8c28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

uncoder-core/app/translator/core/mapping.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ def check_fields_mapping_existence(self, field_tokens: list[Field], source_mappi
167167
unmapped.append(field.source_name)
168168

169169
if self.is_strict_mapping and unmapped:
170-
raise StrictPlatformException(platform_name=self.details.name, fields=unmapped)
170+
raise StrictPlatformException(
171+
platform_name=self.details.name, fields=unmapped, mapping=source_mapping.source_id
172+
)
171173

172174
return unmapped
173175

0 commit comments

Comments
 (0)