nikhmr1235 commited on
Commit
46f556a
·
verified ·
1 Parent(s): 2bf78ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -239,7 +239,8 @@ async def github_webhook(
239
  print(f"\n--- Starting New Graph Execution with thread_id: {new_thread_id} ---")
240
 
241
  if not global_graph:
242
- return (f"Error: Graph not initialized. Check server logs.")
 
243
 
244
  initial_state_data = {
245
  "pr_id": pr_id,
 
239
  print(f"\n--- Starting New Graph Execution with thread_id: {new_thread_id} ---")
240
 
241
  if not global_graph:
242
+ print("Error: Graph not initialized. Check server logs.")
243
+ return
244
 
245
  initial_state_data = {
246
  "pr_id": pr_id,