archivartaunik commited on
Commit
8fb86d4
·
verified ·
1 Parent(s): 3a0ebcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -140,8 +140,9 @@ try:
140
  else:
141
  print("ℹ️ [Scheduler] Scheduler is disabled in batch_params.")
142
 
143
- except ImportError:
144
- print("⚠️ [Scheduler] APScheduler not installed. Background jobs disabled.")
 
145
  except Exception as e:
146
  print(f"⚠️ [Scheduler] Failed to start scheduler: {e}")
147
 
 
140
  else:
141
  print("ℹ️ [Scheduler] Scheduler is disabled in batch_params.")
142
 
143
+ except ImportError as e:
144
+ print(f"⚠️ [Scheduler] Import Error details: {e}")
145
+ print("⚠️ [Scheduler] APScheduler not installed or import failed. Background jobs disabled.")
146
  except Exception as e:
147
  print(f"⚠️ [Scheduler] Failed to start scheduler: {e}")
148