diff --git a/log10/load.py b/log10/load.py index 3d3e93b1..95f401b5 100644 --- a/log10/load.py +++ b/log10/load.py @@ -705,7 +705,11 @@ def wrapper(*args, **kwargs): while result_queue.empty(): pass result = result_queue.get() - completionID = result["completionID"] + + if result is None: + return output + + completionID = result.get("completionID") last_completion_response_var.set(result) with timed_block("result call duration (sync)"):