From 3e13b722f6f79aa8fd6a927bdbe9908372b51a9e Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 16 Jun 2026 03:30:40 -0500 Subject: [PATCH] fix(relay): logging.getenv -> crash on import (card loading was broken) relay_integration.py line 34 called logging.getenv (no such attr), which threw AttributeError on import -> load_card_from_erpnext() crashed for every caller (BOC-3 and now UCR filing payment). Drop the bogus line; LOG is set correctly on the next line. Present since the initial commit. --- scripts/workers/relay_integration.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/workers/relay_integration.py b/scripts/workers/relay_integration.py index 09e5eae..e641e5a 100644 --- a/scripts/workers/relay_integration.py +++ b/scripts/workers/relay_integration.py @@ -31,7 +31,6 @@ import os from dataclasses import dataclass from typing import Optional -LOG = logging.getenv("RELAY_LOG_LEVEL", "workers.relay") LOG = logging.getLogger("workers.relay") # ERPNext Sensitive ID names for each card