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.
This commit is contained in:
justin 2026-06-16 03:30:40 -05:00
parent aadf9f5bc1
commit 3e13b722f6

View file

@ -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