fix: improve error logging for index creation and add PARSE_IMAGE_REMOTE setting

This commit is contained in:
Alex
2025-08-06 10:40:20 +01:00
parent 1282e7687f
commit 9281fac898
3 changed files with 12 additions and 7 deletions

View File

@@ -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="/")