fix: additional podcast service updates

This commit is contained in:
ajaysi
2026-04-03 07:00:14 +05:30
parent 63bb937796
commit 92ac410707
3 changed files with 15 additions and 1 deletions

View File

@@ -431,7 +431,7 @@ class LimitValidator:
self.db.refresh(usage)
except Exception as query_err:
error_str = str(query_err).lower()
if 'no such column' in error_str and 'exa_calls' in error_str:
if 'no such column' in error_str and ('exa_calls' in error_str or 'wavespeed' in error_str):
logger.warning("Missing column detected in usage query, fixing schema and retrying...")
import sqlite3
import services.subscription.schema_utils as schema_utils