Skip to content

Commit a568e06

Browse files
authored
Fix Error Log (#90)
1 parent ab932cd commit a568e06

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cppython/builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,14 @@ def create_generator(
245245

246246
table = generator_configuration.get(name, {})
247247

248-
if name not in generator_configuration.values():
248+
if name not in generator_configuration.keys():
249249
self.logger.error(
250250
"The pyproject.toml table 'tool.cppython.generator.%s' does not exist. Sending generator empty data",
251251
name,
252252
)
253253

254+
self.logger.debug("The key '%s' does not found in these keys '%s'", name, generator_configuration.keys())
255+
254256
generator_data = resolve_generator(core_data.project_data)
255257

256258
cppython_plugin_data = resolve_cppython_plugin(core_data.cppython_data, supported_plugin_type)

0 commit comments

Comments
 (0)