Skip to content

Commit e26e28d

Browse files
fix
1 parent 662a796 commit e26e28d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/services/modules/db/credit_transactions_db.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ async def batch_update_credit_transaction_status_for_in_debt_transactions(
165165
)
166166
async with transaction_context(engine, connection) as conn:
167167
result = await conn.execute(update_stmt)
168-
print(result) # MD: Check this one ...
168+
if result.rowcount:
169+
_logger.info(
170+
f"Wallet {wallet_id} and project {project_id} transactions in DEBT were changed to BILLED. Num. of transaction {result.rowcount}"
171+
)
169172

170173

171174
async def sum_wallet_credits(

0 commit comments

Comments
 (0)