This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ def register_routes(
|
||||
_log("INFO", f"Manual scan completed: {total_processed} items processed")
|
||||
|
||||
background_tasks.add_task(scan_libraries)
|
||||
return {"status": "started", "message": "Manual scan initiated"}
|
||||
return {"status": "started", "message": "Manual scan initiated", "note": "Scan running in background - check logs for progress"}
|
||||
except Exception as e:
|
||||
_log("ERROR", f"Manual scan failed: {e}")
|
||||
raise HTTPException(status_code=500, detail=f"Manual scan failed: {str(e)}")
|
||||
|
||||
Reference in New Issue
Block a user