Browse Source

fix: log exception when sglang is not installed

myhloli 4 tháng trước cách đây
mục cha
commit
dda3c41898
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      mineru/backend/vlm/predictor.py

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

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