From 2eebbfc36663f8004c9ffa7dff8a842bade8214a Mon Sep 17 00:00:00 2001 From: sparky8512 <76499194+sparky8512@users.noreply.github.com> Date: Wed, 1 Feb 2023 14:26:24 -0800 Subject: [PATCH] Protect one more case of history usage --- dish_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dish_common.py b/dish_common.py index 2f667a7..6701a7a 100644 --- a/dish_common.py +++ b/dish_common.py @@ -318,7 +318,7 @@ def get_history_stats(opts, gstate, add_item, add_sequence, flush_history): timestamp = int(time.time()) history = starlink_grpc.get_history(context=gstate.context) gstate.timestamp_stats = timestamp - except grpc.RpcError as e: + except (AttributeError, ValueError, grpc.RpcError) as e: conn_error(opts, "Failure getting history: %s", str(starlink_grpc.GrpcError(e))) history = None