Skip to content

Commit

Permalink
fix: fix debug log in template generator
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo committed Apr 22, 2024
1 parent f774484 commit 6246e0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,12 @@ def generate_templates(self) -> List[SnippetRegistryEntry]:
)
)

endpoint_id = self._endpoint_to_identifier(endpoint)
self._generator_exec_wrapper.send_update(
GeneratorUpdate.factory.log(
LogUpdate(
level=LogLevel.DEBUG,
message=f"Snippet template created for endpoint {json.dumps(self._endpoint_to_identifier(endpoint))}.",
message=f"Snippet template created for endpoint: {endpoint_id.method} {endpoint_id.path}.",
)
)
)
Expand Down

0 comments on commit 6246e0c

Please sign in to comment.