fix(volc_sync): add debug logs for balance display issues
This commit is contained in:
+8
-1
@@ -464,8 +464,15 @@ class DailyLimitHandler(CustomLogger):
|
|||||||
rem_int = int(float(rem_val))
|
rem_int = int(float(rem_val))
|
||||||
bal_est = rem_int + BUFFER
|
bal_est = rem_int + BUFFER
|
||||||
rem_display = f", Bal: {bal_est:,}"
|
rem_display = f", Bal: {bal_est:,}"
|
||||||
except Exception:
|
except Exception as e:
|
||||||
|
print(
|
||||||
|
f"DEBUG: Error calculating balance for {clean_model}: {e}"
|
||||||
|
)
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
# Debug why key is missing
|
||||||
|
if DEBUG_MODE:
|
||||||
|
print(f"DEBUG: Dynamic key not found: {dynamic_key}")
|
||||||
|
|
||||||
key_display = key.split(":", 2)[-1]
|
key_display = key.split(":", 2)[-1]
|
||||||
log(
|
log(
|
||||||
|
|||||||
Reference in New Issue
Block a user