mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
fix: improve error logging for index creation and add PARSE_IMAGE_REMOTE setting
This commit is contained in:
@@ -70,7 +70,7 @@ try:
|
||||
)
|
||||
users_collection.create_index("user_id", unique=True)
|
||||
except Exception as e:
|
||||
current_app.logger.warning(f"Can't create indexes: {e}", )
|
||||
print("Error creating indexes:", e)
|
||||
|
||||
user = Blueprint("user", __name__)
|
||||
user_ns = Namespace("user", description="User related operations", path="/")
|
||||
|
||||
Reference in New Issue
Block a user