Skip to content

Commit 1ce62d3

Browse files
committed
Fix incorrect error logging when generics error occurs in extends clause
1 parent 7adcd5f commit 1ce62d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/preprocess/ConfigPreprocessorComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class ConfigPreprocessorComponent implements IConfigPreprocessor<ICompone
139139
),
140140
);
141141
if (conflict) {
142-
throw new ErrorResourcesContext(conflict.description, conflict.context);
142+
throw new ErrorResourcesContext(conflict.description, { cause: conflict });
143143
}
144144
}
145145

0 commit comments

Comments
 (0)