Browse Source

fix: remove exception logging for missing sglang dependency

myhloli 4 months ago
parent
commit
3ac969ce3a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      mineru/backend/vlm/predictor.py

+ 0 - 1
mineru/backend/vlm/predictor.py

@@ -32,7 +32,6 @@ try:
 
 
     engine_loaded = True
     engine_loaded = True
 except Exception as e:
 except Exception as e:
-    logger.exception(e)
     logger.warning("sglang is not installed. If you are not using sglang, you can ignore this warning.")
     logger.warning("sglang is not installed. If you are not using sglang, you can ignore this warning.")