From 6d13c8255f9c8c7ac3e5c9c24cf07a27ce4436d7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 5 Jul 2022 17:35:17 -0400 Subject: [PATCH] Don't require an ems msg symbol on error statuses --- piker/brokers/kraken/broker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/kraken/broker.py b/piker/brokers/kraken/broker.py index a39086de..b8867c82 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -636,7 +636,7 @@ def process_status( oid=oid, # XXX: use old reqid in case it changed? reqid=last.reqid, - symbol=last.symbol, + symbol=getattr(last, 'symbol', 'N/A'), reason=f'Failed {action}:\n{errmsg}', broker_details=event