Skip to content

Commit a1b07e8

Browse files
authored
fix: Log error on table resolver exception/error (#16)
The previous logger was raising an exception inside an exception handler
1 parent fb1643f commit a1b07e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudquery/sdk/scheduler/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def resolve_table(
142142
"table resolver finished with error",
143143
table=resolver.table.name,
144144
depth=depth,
145-
exception=e,
145+
exec_info=e,
146146
)
147147
finally:
148148
res.put(TableResolverStarted(count=table_resolvers_started))

0 commit comments

Comments
 (0)