grlll commited on
Commit
125e9bf
·
1 Parent(s): ad96991

add stack trace

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -256,7 +256,9 @@ Both repositories are private and only accessible by you.
256
  """
257
 
258
  except Exception as e:
259
- return f"❌ Error creating landing zone: {str(e)}"
 
 
260
 
261
  def update_ui(profile: gr.OAuthProfile | None) -> tuple:
262
  """Update UI based on login status."""
 
256
  """
257
 
258
  except Exception as e:
259
+ import traceback
260
+ error_details = traceback.format_exc()
261
+ return f"❌ Error creating landing zone: {str(e)}\n\nDetails:\n```\n{error_details}\n```"
262
 
263
  def update_ui(profile: gr.OAuthProfile | None) -> tuple:
264
  """Update UI based on login status."""