diff --git a/proxyclient/m1n1/shell.py b/proxyclient/m1n1/shell.py index fbb47e32..410085f3 100644 --- a/proxyclient/m1n1/shell.py +++ b/proxyclient/m1n1/shell.py @@ -36,7 +36,10 @@ class HistoryConsole(code.InteractiveConsole): def runcode(self, code): super().runcode(code) if "mon" in self.locals: - self.locals["mon"].poll() + try: + self.locals["mon"].poll() + except Exception as e: + print(f"mon.poll() failed: {e!r}") if "u" in self.locals: self.locals["u"].push_simd()