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:
parent
aadf9f5bc1
commit
3e13b722f6
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue