Skip to content

Commit 1ce62d3

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/preprocess/ConfigPreprocessorComponent.ts

+1-1
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)