Skip to content

Commit bc44ccb

Browse files
authored
Feat: more logging (#258)
1 parent b58225d commit bc44ccb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/discord-cluster-manager/launchers

src/discord-cluster-manager/launchers/github.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def trigger(self, inputs: dict) -> bool:
165165
raise ValueError(f"Could not find workflow {self.workflow_file}") from e
166166

167167
branch_name = get_github_branch_name()
168-
logger.debug(
168+
logger.info(
169169
"Dispatching workflow %s on branch %s with inputs %s",
170170
self.workflow_file,
171171
branch_name,
@@ -174,6 +174,7 @@ async def trigger(self, inputs: dict) -> bool:
174174
success = await asyncio.to_thread(workflow.create_dispatch, branch_name, inputs=inputs)
175175

176176
if success:
177+
logger.info("Waiting for workflow to start...")
177178
await asyncio.sleep(2)
178179

179180
def get_runs_sync():

0 commit comments

Comments
 (0)