From 8ab8268edc47b8c4f41fe5cf276057705cb9acd7 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 100561ae..5ffe21b6 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -635,7 +635,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