From 352f70b885d8c95ae824801ca94943f8c9581596 Mon Sep 17 00:00:00 2001 From: David Mak Date: Tue, 3 Oct 2023 12:09:41 +0800 Subject: [PATCH] artiq: Update host exception list to match possibly thrown types --- nac3artiq/demo/embedding_map.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nac3artiq/demo/embedding_map.py b/nac3artiq/demo/embedding_map.py index b25ed3250..2116c69e9 100644 --- a/nac3artiq/demo/embedding_map.py +++ b/nac3artiq/demo/embedding_map.py @@ -18,6 +18,13 @@ class EmbeddingMap: "SPIError", "0:ZeroDivisionError", "0:IndexError", + "0:ValueError", + "0:RuntimeError", + "0:AssertionError", + "0:KeyError", + "0:NotImplementedError", + "0:OverflowError", + "0:IOError", "0:UnwrapNoneError"]) def preallocate_runtime_exception_names(self, names):