We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fdceba commit 2fb4c92Copy full SHA for 2fb4c92
invokeai/app/api/routers/model_manager.py
@@ -273,9 +273,10 @@ async def scan_for_models(
273
found_model = FoundModel(path=path, is_installed=is_installed)
274
scan_results.append(found_model)
275
except Exception as e:
276
+ error_type = type(e).__name__
277
raise HTTPException(
278
status_code=500,
- detail=f"An error occurred while searching the directory: {e}",
279
+ detail=f"An error occurred while searching the directory: {error_type}",
280
)
281
return scan_results
282
0 commit comments